From 9b9d30c092b3d84e6891e3bb1141aa9cd08b4efb Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Wed, 11 Jan 2017 00:09:51 +0100 Subject: [PATCH] Remove commented out section of the nginx.conf --- setup/start/nginx/nginx.conf | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/setup/start/nginx/nginx.conf b/setup/start/nginx/nginx.conf index ef1f1465c..602069a08 100644 --- a/setup/start/nginx/nginx.conf +++ b/setup/start/nginx/nginx.conf @@ -57,35 +57,6 @@ http { } } - # This server handles the naked domain for custom domains. - # It can also be used for wildcard subdomain 404. This feature is not used by the Cloudron itself - # because box always sets up DNS records for app subdomains. -# server { -# listen 443 default_server; -# ssl on; -# ssl_certificate cert/host.cert; -# ssl_certificate_key cert/host.key; -# -# error_page 404 = @fallback; -# location @fallback { -# internal; -# root /home/yellowtent/box/webadmin/dist; -# rewrite ^/$ /nakeddomain.html break; -# } -# -# location / { -# internal; -# root /home/yellowtent/box/webadmin/dist; -# rewrite ^/$ /nakeddomain.html break; -# } -# -# # required for /api/v1/cloudron/avatar -# location /api/ { -# proxy_pass http://127.0.0.1:3000; -# client_max_body_size 1m; -# } -# } - include applications/*.conf; }