]> Untitled Git - proxy.git/commitdiff
Made nginx conf nicer
authorClifton Palmer <cliftonpalmer@pop-os>
Sun, 16 Jun 2019 11:50:38 +0000 (06:50 -0500)
committerClifton Palmer <cliftonpalmer@pop-os>
Sun, 16 Jun 2019 11:50:38 +0000 (06:50 -0500)
docker-compose.yml
nginx.conf

index f3e2b500932ba708931d3fbfbe4adb48485fb214..8bd9fb035335754fa1494533630295392656688f 100644 (file)
@@ -4,7 +4,7 @@ networks:
         external:
             name: proxy
 services:
         external:
             name: proxy
 services:
-    proxy:
+    nginx:
         image: nginx:1.17
         volumes:
         - ./nginx.conf:/etc/nginx/nginx.conf
         image: nginx:1.17
         volumes:
         - ./nginx.conf:/etc/nginx/nginx.conf
@@ -12,7 +12,7 @@ services:
         - NGINX_HOST=purplebirdman.online
         - NGINX_PORT=80
         ports:
         - NGINX_HOST=purplebirdman.online
         - NGINX_PORT=80
         ports:
-        - 8080:80
+        - 80:80
+        - 443:443
         networks:
         networks:
-        - default
         - proxy
         - proxy
index a49653b69dcb14c568053fca938a648cc01b76e7..96a568611e59c39ed018b3a007b68edd42cea4e9 100644 (file)
@@ -1,7 +1,12 @@
-events {}
+worker_processes 1;
+
+events {
+    worker_connections 1024;
+}
 
 http {
     server {
 
 http {
     server {
+        listen 80;
         server_name public.purplebirdman.online;
         location / {
             proxy_pass http://public_web;
         server_name public.purplebirdman.online;
         location / {
             proxy_pass http://public_web;