Files
rpg.ascorrea.com/apps/nginx/conf.d/default.conf
Anthony Correa 65d36fe9d4 reorganized
i believe everything works
2023-04-10 14:13:01 -05:00

36 lines
834 B
Plaintext

server {
server_name _;
# you can serve any number of redirects from here...
listen 80;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl http2;
server_name rpg.ascorrea.com;
ssl_certificate /etc/nginx/ssl/live/rpg.ascorrea.com/fullchain.pem;
ssl_certificate_key /etc/nginx/ssl/live/rpg.ascorrea.com/privkey.pem;
ssl_stapling on;
ssl_stapling_verify on;
ssl_trusted_certificate /etc/nginx/ssl/live/rpg.ascorrea.com/fullchain.pem;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3;
ssl_ciphers HIGH:!aNULL:!MD5;
# include applications/vouch.conf;
root /var/www/html/;
error_page 401 = @error401;
location / {
# This application is simply proxy-passed without any authentication
index index.html index.htm;
}
include /etc/nginx/conf.d/apps-enabled/*.conf;
}