Skip to content

Instantly share code, notes, and snippets.

@fazaio
Created May 29, 2023 17:20
Show Gist options
  • Save fazaio/e291139a313400699d17c60e897a5a18 to your computer and use it in GitHub Desktop.
Save fazaio/e291139a313400699d17c60e897a5a18 to your computer and use it in GitHub Desktop.
nginx
nginx file
server {
listen 80;
listen [::]:80;
root /var/www/javasuperapp.com/html;
index index.html index.htm index.nginx-debian.html;
server_name javasuperapp.com www.javasuperapp.com;
location / {
try_files $uri $uri/ =404;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment