Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- events {}
- http {
- sendfile on;
- tcp_nopush on;
- tcp_nodelay on;
- keepalive_timeout 15;
- types_hash_max_size 2048;
- server_tokens off;
- include /etc/nginx/mime.types;
- access_log off;
- error_log /var/log/nginx/error.log;
- gzip on;
- gzip_min_length 100;
- gzip_http_version 1.1;
- gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
- client_max_body_size 8M;
- server {
- listen 80;
- server_name hd.center2m.com;
- location / {
- proxy_pass http://141.101.246.138:8080;
- }
- location = / {
- proxy_redirect off;
- proxy_set_header Host $host:$server_port;
- proxy_set_header X-Real-IP $remote_addr;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- proxy_pass http://141.101.246.138:8080/servicedesk/customer/portals;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement