Skip to content

Commit 4829728

Browse files
committed
Add nginx configureation
1 parent 33c5b13 commit 4829728

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

nginxconf

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
server {
2+
3+
server_name www.emfpulse.com emfpulse.com;
4+
access_log /web/emfpulse.com/logs/access.log;
5+
error_log /web/emfpulse.com/logs/error.log;
6+
root /web/pulse-web/pulse/web;
7+
8+
location / {
9+
index index.html index.htm index.php;
10+
}
11+
12+
location /wamp{
13+
access_log off;
14+
proxy_pass http://localhost:12345;
15+
proxy_set_header X-Real-IP $remote_addr;
16+
proxy_set_header Host $host;
17+
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
18+
19+
proxy_http_version 1.1;
20+
proxy_set_header Upgrade $http_upgrade;
21+
proxy_set_header Connection "upgrade";
22+
23+
rewrite /wamp/(.*) /$1 break;
24+
proxy_redirect off;
25+
}
26+
27+
}

0 commit comments

Comments
 (0)