Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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