houtmarkt-jeremy/nginx-config-files/houtmarkt-app.conf

16 lines
456 B
Plaintext
Raw Permalink Normal View History

2020-05-28 03:02:43 +00:00
server {
listen 80;
server_name _;
root /houtmarkt-jeremy/nginx-data/
location /static/ {
alias /houtmarkt-jeremy/nginx-data/staticfiles/;
# Never forget the fact that this little statement being root instead of alias caused us to lose more than a day troubleshooting
}
location {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_pass http://127.0.0.1:8080/;
}
}