mirror of
				https://github.com/casjaysdevdocker/stikked
				synced 2025-11-04 07:02:17 -05:00 
			
		
		
		
	🗃️ Committing everything that changed 🗃️
rootfs/tmp/etc/nginx/nginx.conf rootfs/usr/local/bin/entrypoint.sh rootfs/usr/local/etc/docker/init.d/99-nginx.sh
This commit is contained in:
		@@ -33,14 +33,20 @@ http {
 | 
			
		||||
        location /health {
 | 
			
		||||
            default_type                            text/plain;
 | 
			
		||||
            return 200                              'ok';
 | 
			
		||||
            access_log                              off;
 | 
			
		||||
            log_not_found                           on;
 | 
			
		||||
        }
 | 
			
		||||
        location /health/text {
 | 
			
		||||
            default_type                            text/plain;
 | 
			
		||||
            return 200                              'ok';
 | 
			
		||||
            access_log                              off;
 | 
			
		||||
            log_not_found                           on;
 | 
			
		||||
        }
 | 
			
		||||
        location /health/json {
 | 
			
		||||
            default_type                            application/json;
 | 
			
		||||
            return 200                              '{"status":"ok","message":"running"}';
 | 
			
		||||
            access_log                              off;
 | 
			
		||||
            log_not_found                           on;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        location ~ [^/]\.php(/|$) {
 | 
			
		||||
@@ -74,18 +80,9 @@ http {
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        location / {
 | 
			
		||||
            proxy_set_header Host $host;
 | 
			
		||||
            proxy_set_header                        X-Real-IP            $remote_addr;
 | 
			
		||||
            proxy_set_header                        X-Forwarded-For      $proxy_add_x_forwarded_for;
 | 
			
		||||
            proxy_set_header                        X-Forwarded-Proto    $scheme;
 | 
			
		||||
            proxy_http_version                      1.1;
 | 
			
		||||
            proxy_set_header                        Upgrade $http_upgrade;
 | 
			
		||||
            proxy_set_header                        Connection $connection_upgrade;
 | 
			
		||||
            proxy_pass                              http://127.0.0.1:8000/;
 | 
			
		||||
            root                                    REPLACE_SERVER_WWW_DIR;
 | 
			
		||||
            access_log                              on;
 | 
			
		||||
            log_not_found                           on;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        include /etc/nginx/conf.d/*.conf;
 | 
			
		||||
        include /etc/nginx/sites-enabled/*;
 | 
			
		||||
        include /etc/nginx/vhosts.d/*.conf;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user