diff options
author | punk <punk@libernaut> | 2021-04-29 16:11:04 +0100 |
---|---|---|
committer | punk <punk@libernaut> | 2021-04-29 16:11:25 +0100 |
commit | 9bef2e2b7ea351b6b1cb490597356677db61ff34 (patch) | |
tree | c36ae24aa3c36f6c19284c7d4da7c25a620bfabf /tools/conf/etc/nginx/sites-enabled/ports.conf | |
parent | 6b5cf63d1987889e272643bf7eeb7725df856d11 (diff) | |
parent | 5e601f7ee14830ef645ee3d3b1bcdce7450a5ce3 (diff) | |
download | doc-master.tar.gz |
Diffstat (limited to 'tools/conf/etc/nginx/sites-enabled/ports.conf')
-rw-r--r-- | tools/conf/etc/nginx/sites-enabled/ports.conf | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/tools/conf/etc/nginx/sites-enabled/ports.conf b/tools/conf/etc/nginx/sites-enabled/ports.conf deleted file mode 100644 index 829d710..0000000 --- a/tools/conf/etc/nginx/sites-enabled/ports.conf +++ /dev/null @@ -1,55 +0,0 @@ -server { - listen 80; - server_name localhost ports.ank default_host; - - access_log /var/log/nginx/ports_access.log; - error_log /var/log/nginx/ports_error.log; - - location /mirror/archive { - autoindex on; - alias /usr/ports/archive; - } - - location /mirror/packages { - autoindex on; - alias /usr/ports/packages; - } - - location /mirror/distfiles { - autoindex on; - alias /usr/ports/distfiles; - } - - location /mirror/bugs { - autoindex on; - alias /usr/ports/pkgbuild; - types { - text/plain log; - } - } - - location /mirror/installed { - autoindex on; - alias /usr/ports/installed; - default_type text/plain; - } - - location /mirror/releases { - autoindex on; - alias /usr/ports/releases; - } - - location /mirror/ { - return 301 https://tribu.semdestino.org/wiki/Main/Mirror; - } - - error_page 404 /404.html; - - # redirect server error pages to the static page /50x.html - # - error_page 500 502 503 504 /50x.html; - location = /50x.html { - root html; - } -} - |