diff --git a/server/nginx.conf b/server/nginx.conf deleted file mode 100644 index 350d6bd..0000000 --- a/server/nginx.conf +++ /dev/null @@ -1,33 +0,0 @@ -worker_processes auto; - -events { worker_connections 1024; } - -http { - include mime.types; - default_type application/octet-stream; - sendfile on; - keepalive_timeout 65; - - upstream node_app { - server 127.0.0.1:3001; - } - - server { - listen 80; - server_name _; - - location / { - root /usr/share/nginx/html; - try_files $uri /index.html; - } - - location /api { - proxy_pass http://node_app; - proxy_http_version 1.1; - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection 'upgrade'; - proxy_set_header Host $host; - proxy_cache_bypass $http_upgrade; - } - } -} \ No newline at end of file