]> git.siccegge.de Git - software/wtfismyip.git/blob - nginx.conf
Add fake dns server
[software/wtfismyip.git] / nginx.conf
1 server {
2 listen [::]:80;
3 listen 0.0.0.0:80;
4
5 server_name wtfismyip.dn *.wtfismyip.dn;
6
7 location / {
8 include uwsgi_params;
9 uwsgi_pass unix:/run/uwsgi/app/wtfismyip/socket;
10 more_set_headers 'Access-Control-Allow-Origin: *';
11 }
12
13 location /style.css {
14 alias /srv/www/wtfismyip.dn/templates/style.css;
15 }
16 }