summarylogtreecommitdiffstats
path: root/example-nginx-subdomain.conf
blob: 815dc7b7708d8be4c9d233723905699e3be8e5ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
server {
 listen 80;
 server_name deemix.example.org;

 location / {
  proxy_pass http://127.0.0.1:6595;
  # https://stackoverflow.com/a/25607600
  location ^~ /socket {
   rewrite  ^/socket/(.*)  /$1 break;
   proxy_pass http://127.0.0.1:6595;
  }
 }
}