villafleurie/nginx/villafleurie.conf

16 lines
No EOL
346 B
Text

server {
listen 80;
server_name localhost;
access_log /var/log/nginx/example.log;
location static/ {
autoindex off;
alias /static_files/;
}
location / {
proxy_pass http://web:8000;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
}
}