From f6c7158f0975113581256cf82635c1afa8f91cfc Mon Sep 17 00:00:00 2001 From: faulty Date: Sun, 12 Feb 2023 22:33:04 +0100 Subject: [PATCH] remove: will's crap --- custom/will-discourse-nginx/Dockerfile | 3 --- custom/will-discourse-nginx/nginx.conf | 31 -------------------------- 2 files changed, 34 deletions(-) delete mode 100644 custom/will-discourse-nginx/Dockerfile delete mode 100644 custom/will-discourse-nginx/nginx.conf diff --git a/custom/will-discourse-nginx/Dockerfile b/custom/will-discourse-nginx/Dockerfile deleted file mode 100644 index afd2c78..0000000 --- a/custom/will-discourse-nginx/Dockerfile +++ /dev/null @@ -1,3 +0,0 @@ -FROM nginx:latest - -COPY nginx.conf /etc/nginx/nginx.conf \ No newline at end of file diff --git a/custom/will-discourse-nginx/nginx.conf b/custom/will-discourse-nginx/nginx.conf deleted file mode 100644 index 4ce413f..0000000 --- a/custom/will-discourse-nginx/nginx.conf +++ /dev/null @@ -1,31 +0,0 @@ -user www-data; - -events { - worker_connections 768; -} - -http { - upstream app { - server app:3000; - } - include /etc/nginx/mime.types; - default_type application/octet-stream; - gzip on; - gzip_disable "msie6"; - - server { - listen 80; - - try_files $uri/index.html $uri @app; - - location / { - proxy_pass http://app; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header Host $http_host; - proxy_redirect off; - } - - client_max_body_size 10M; - keepalive_timeout 10; - } -}