summaryrefslogtreecommitdiff
path: root/nginx.conf
diff options
context:
space:
mode:
Diffstat (limited to 'nginx.conf')
-rw-r--r--nginx.conf63
1 files changed, 0 insertions, 63 deletions
diff --git a/nginx.conf b/nginx.conf
deleted file mode 100644
index fc11627..0000000
--- a/nginx.conf
+++ /dev/null
@@ -1,63 +0,0 @@
-
-user nginx;
-worker_processes auto;
-
-error_log /var/log/nginx/error.log notice;
-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" '
- 'ssl_protocol:$ssl_protocol ssl_cipher:$ssl_cipher '
- 'ssl_client_verify:$ssl_client_verify '
- 'ssl_client_s_dn:$ssl_client_s_dn';
- access_log /var/log/nginx/access.log main;
-
- sendfile on;
- #tcp_nopush on;
-
- keepalive_timeout 65;
-
- #gzip on;
-
-# include /etc/nginx/conf.d/*.conf;
-
- server {
- location / {
- return 301 https://$host$request_uri;
- #root /data/www;
- #autoindex on;
- #autoindex_exact_size off;
- }
- }
- server {
- listen 443 ssl;
- server_name localhost;
-
- ssl_certificate /home/x/auths1/server.crt;
- ssl_certificate_key /home/x/auths1/server.key;
- ssl_client_certificate /home/x/auths1/ca.pem;
- ssl_verify_client on;
-
- location / {
- proxy_pass http://localhost:5000;
- proxy_set_header Host $host;
- proxy_set_header X-Real-IP $remote_addr;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- proxy_set_header X-Forwarded-Proto $scheme;
-
- }
- }
-
-}