Skip to content

Instantly share code, notes, and snippets.

@zinntikumugai
Created February 11, 2018 00:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zinntikumugai/9c5fb34433677076e29c30de838ca33f to your computer and use it in GitHub Desktop.
Save zinntikumugai/9c5fb34433677076e29c30de838ca33f to your computer and use it in GitHub Desktop.
server {
listen 80;
listen [::]:80;
server_name example.com;
access_log /var/log/nginx/example.com/access.log;
error_log /var/log/nginx/example.com/error.log;
location /.well-know {
root /var/www/html/.well-know/;
}
location / {
proxy_redirect off;
proxy_pass http://127.0.0.1:8080/;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment