houtmarkt-jeremy/nginx-config-files/houtmarkt-app.conf
2020-05-28 03:02:43 +00:00

16 lines
456 B
Plaintext

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/;
}
}