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; }