]> Vexing Labs - letters.git/commitdiff
Remove nginx.conf, no need
authorAdam A.G. Shamblin <adam@vexingworkshop.com>
Mon, 13 Jan 2020 01:30:06 +0000 (18:30 -0700)
committerAdam A.G. Shamblin <adam@vexingworkshop.com>
Mon, 13 Jan 2020 01:30:06 +0000 (18:30 -0700)
Dockerfile
conf/nginx.conf [deleted file]

index 41f8358936d7b485b5a4292e5f658d1e0eefb808..53d498c9cd033b96cfd5eadf36866c23823a25ba 100644 (file)
@@ -6,5 +6,4 @@ RUN pelican content -s publishconf.py
 
 FROM nginx
 COPY --from=0 /build/output/ /usr/share/nginx/html/
-COPY conf/nginx.conf /etc/nginx/nginx.conf
 COPY conf/default.conf /etc/nginx/conf.d/default.conf
diff --git a/conf/nginx.conf b/conf/nginx.conf
deleted file mode 100644 (file)
index e4bad8d..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-
-user  nginx;
-worker_processes  1;
-
-error_log  /var/log/nginx/error.log warn;
-pid        /var/run/nginx.pid;
-
-
-events {
-    worker_connections  1024;
-}
-
-
-http {
-    include       /etc/nginx/mime.types;
-    default_type  application/octet-stream;
-
-    log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
-                      '$status $body_bytes_sent "$http_referer" '
-                      '"$http_user_agent" "$http_x_forwarded_for"';
-
-    access_log  /var/log/nginx/access.log  main;
-
-    sendfile        on;
-    #tcp_nopush     on;
-
-    keepalive_timeout  65;
-
-    #gzip  on;
-
-    include /etc/nginx/conf.d/*.conf;
-}