atlantide-haproxy/vhost-82.conf

16 lines
376 B
Plaintext
Raw Permalink Normal View History

2020-11-03 11:28:46 +01:00
server {
listen 82;
server_name _;
root /var/www/82;
index index.html;
2020-11-03 13:46:50 +01:00
# include /etc/nginx/snippets/letsencrypt.conf;
2020-11-03 11:28:46 +01:00
location / {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
try_files $uri $uri/ =404;
}
2020-11-03 13:57:48 +01:00
set_real_ip_from 127.0.0.1;
real_ip_recursive on;
real_ip_header X-Forwarded-For;
2020-11-03 11:28:46 +01:00
}