diff options
Diffstat (limited to 'infra/nginx/lex.surf_dev')
-rw-r--r-- | infra/nginx/lex.surf_dev | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/infra/nginx/lex.surf_dev b/infra/nginx/lex.surf_dev deleted file mode 100644 index a00ebba..0000000 --- a/infra/nginx/lex.surf_dev +++ /dev/null @@ -1,35 +0,0 @@ -server { - listen 80; - listen [::]:80; - server_name lex.localhost; - - location / { - proxy_pass http://127.0.0.1:8000; - proxy_set_header Host lex.localhost; - } - - root /var/www/lex.surf; - - location /assets/ { - try_files $uri =404; - } -} - -server { - listen 80; - listen [::]:80; - server_name ~^(?<cc>[a-z]+).lex.localhost$; - - location / { - proxy_pass http://127.0.0.1:8000; - proxy_set_header Host $cc.lex.localhost; - } - - root /var/www/lex.surf; - - location = /laws.json { - gzip on; - gzip_types *; - try_files /laws/$cc.json =404; - } -} |