• 0 Posts
  • 8 Comments
Joined 1 year ago
cake
Cake day: June 13th, 2023

help-circle







  • I’m running a lot of services off my nginx reverse proxy. This is my general setup for each subdomain - each in its own config file. I wouldn’t consider this verbose in any way - and it’s never crashed on me

    service.conf

    server {
        listen       443 ssl http2;
        listen  [::]:443 ssl http2;
        server_name  [something].0x-ia.moe;
    
        include /etc/nginx/acl_local.conf;
        include /etc/nginx/default_settings.conf;
        include /etc/nginx/ssl_0x-ia.conf;
    
        location / {
            proxy_pass              http://[host]:[port]/;
        }
    }