infrastructure/njallavps/swag/nginx/site-confs/hydrogen.conf

22 lines
503 B
Plaintext
Raw Normal View History

2023-01-01 13:04:41 -05:00
server {
listen 443 ssl;
listen [::]:443 ssl;
2023-01-01 13:04:41 -05:00
server_name hydrogen.anonymousland.org;
2023-01-01 13:04:41 -05:00
include /config/nginx/ssl.conf;
add_header X-Frame-Options "SAMEORIGIN" always;
client_max_body_size 0;
2023-01-01 13:04:41 -05:00
location / {
include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf;
set $upstream_app hydrogen;
set $upstream_port 80;
2023-01-01 13:04:41 -05:00
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
}
}