summarylogtreecommitdiffstats
path: root/example-nginx.conf
blob: ffa7771c0d71e51717594117fb7ed12d2c6d13d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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;
   # https://redd.it/l3n2be
   #proxy_set_header Host $host;
  }
 }
}