aboutsummaryrefslogtreecommitdiffstats
path: root/demo/nginx_proxy/demo-1/proxy_nginx.conf
diff options
context:
space:
mode:
Diffstat (limited to 'demo/nginx_proxy/demo-1/proxy_nginx.conf')
-rw-r--r--demo/nginx_proxy/demo-1/proxy_nginx.conf81
1 files changed, 0 insertions, 81 deletions
diff --git a/demo/nginx_proxy/demo-1/proxy_nginx.conf b/demo/nginx_proxy/demo-1/proxy_nginx.conf
deleted file mode 100644
index 05d8d2a..0000000
--- a/demo/nginx_proxy/demo-1/proxy_nginx.conf
+++ /dev/null
@@ -1,81 +0,0 @@
-user root;
-worker_processes 1;
-daemon off;
-#error_log logs/error.log;
-#error_log logs/error.log notice;
-#error_log logs/error.log info;
-
-#pid logs/nginx.pid;
-
-
-events {
- worker_connections 1024;
-}
-
-
-http {
- include 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 logs/access.log main;
-
- sendfile on;
- #tcp_nopush on;
-
- #keepalive_timeout 0;
- keepalive_timeout 65;
-
- #gzip on;
-
- server {
- listen 192.168.50.20:80 default_server;
- server_name 192.168.50.20;
-
- location / {
- proxy_bind 172.167.50.20:2020;
- proxy_pass http://172.167.50.30:80;
- proxy_set_header X-Real-IP $remote_addr;
- sendfile off;
- proxy_buffering off;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- }
-
- #error_page 404 /404.html;
-
- # redirect server error pages to the static page /50x.html
- #
- error_page 500 502 503 504 /50x.html;
- location = /50x.html {
- root html;
- }
-
- # proxy the PHP scripts to Apache listening on 127.0.0.1:80
- #
- #location ~ \.php$ {
- # proxy_pass http://127.0.0.1;
- #}
-
- # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
- #
- #location ~ \.php$ {
- # root html;
- # fastcgi_pass 127.0.0.1:9000;
- # fastcgi_index index.php;
- # fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
- # include fastcgi_params;
- #}
-
- # deny access to .htaccess files, if Apache's document root
- # concurs with nginx's one
- #
- #location ~ /\.ht {
- # deny all;
- #}
- }
-
-
-}