aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/docker/frontend/etc/nginx/conf.d/default.conf
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-10-16 00:55:57 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2022-10-16 01:19:20 +0200
commit4f064f0aa21095b80fae9c10cb0631f7c467394d (patch)
tree014e248b39a1dcb245712d71bcb2134d5f898332 /docker/frontend/etc/nginx/conf.d/default.conf
parentdocker: upgrade base images (diff)
downloadcgitize-4f064f0aa21095b80fae9c10cb0631f7c467394d.tar.gz
cgitize-4f064f0aa21095b80fae9c10cb0631f7c467394d.zip
frontend: use normal Alpine image instead of nginx
I've had a problem with the nginx:1-alpine image switching Alpine versions, so I'm fixing the version at least.
Diffstat (limited to 'docker/frontend/etc/nginx/conf.d/default.conf')
-rw-r--r--docker/frontend/etc/nginx/conf.d/default.conf20
1 files changed, 0 insertions, 20 deletions
diff --git a/docker/frontend/etc/nginx/conf.d/default.conf b/docker/frontend/etc/nginx/conf.d/default.conf
deleted file mode 100644
index dc27e85..0000000
--- a/docker/frontend/etc/nginx/conf.d/default.conf
+++ /dev/null
@@ -1,20 +0,0 @@
-server {
- listen 80 default_server;
- listen [::]:80 default_server;
- server_name _;
-
- location / {
- include fastcgi_params;
- fastcgi_pass unix:/run/fcgiwrap.sock;
-
- fastcgi_param SCRIPT_FILENAME /usr/share/webapps/cgit/cgit.cgi;
-
- # This looks stupid. Can I substitute any variable for $fastcgi_path_info?
- fastcgi_split_path_info ^(/?)(.+)$;
- fastcgi_param PATH_INFO $fastcgi_path_info;
- }
-
- location /cgit/ {
- alias /usr/share/webapps/cgit/;
- }
-}