summaryrefslogtreecommitdiff
path: root/infra/nginx/lex.surf_dev
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2025-04-06 09:40:30 +0200
committerMartin Fischer <martin@push-f.com>2025-04-13 23:18:01 +0200
commit281d0a867bc542bef52d5091fed3bf1b0d3b9ef6 (patch)
treedff4cb69b1560655257b44190a17f99ed5b5f62b /infra/nginx/lex.surf_dev
parent50ea018252ce69542eab6a107b99ea8179810d1e (diff)
build: introduce Nix package and NixOS service
Diffstat (limited to 'infra/nginx/lex.surf_dev')
-rw-r--r--infra/nginx/lex.surf_dev35
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;
- }
-}