summaryrefslogtreecommitdiffstats
path: root/usr/local/etc/nginx
diff options
context:
space:
mode:
authorJoe <bousset.rudy@gmail.com>2022-04-29 19:55:01 +0000
committerJoe <bousset.rudy@gmail.com>2022-04-29 19:55:01 +0000
commit7a7626450ce0047728eff119553af9ceca413a98 (patch)
tree4b5bd99ccc6c4c429dc470b8d1a1b16bbb8607f9 /usr/local/etc/nginx
parentgood progress, will finish tomorrow (diff)
downloadjoe-conf-7a7626450ce0047728eff119553af9ceca413a98.tar.gz
joe-conf-7a7626450ce0047728eff119553af9ceca413a98.tar.bz2
joe-conf-7a7626450ce0047728eff119553af9ceca413a98.tar.xz
joe-conf-7a7626450ce0047728eff119553af9ceca413a98.tar.zst
joe-conf-7a7626450ce0047728eff119553af9ceca413a98.zip
filters
Diffstat (limited to 'usr/local/etc/nginx')
-rw-r--r--usr/local/etc/nginx/nginx.conf34
1 files changed, 17 insertions, 17 deletions
diff --git a/usr/local/etc/nginx/nginx.conf b/usr/local/etc/nginx/nginx.conf
index 4f307ab..904604c 100644
--- a/usr/local/etc/nginx/nginx.conf
+++ b/usr/local/etc/nginx/nginx.conf
@@ -71,22 +71,22 @@ http {
location ~ /\.ht {
deny all;
}
- location @jozan {
- include fastcgi_params;
- root /usr/local/www/gitjoe/jozan;
- try_files $uri @jozan;
- index cgit.cgi;
- fastcgi_param SCRIPT_FILENAME $document_root/cgit.cgi;
- fastcgi_param PATH_INFO $uri;
- fastcgi_param QUERY_STRING $args;
- fastcgi_param HTTP_HOST $server_name;
- fastcgi_param CGIT_CONFIG /usr/local/etc/cgitusers/jozan;
- fastcgi_pass unix:/var/run/fcgiwrap/fcgiwrap.sock;
-
- gzip off;
- #rewrite ^ https://$server_name$request_uri permanent;
- rewrite ^/([^/]+/.*)?$ /cgit.cgi?url=$1 break;
- }
+# location @jozan {
+# include fastcgi_params;
+# root /usr/local/www/gitjoe/jozan;
+# try_files $uri @jozan;
+# index cgit.cgi;
+# fastcgi_param SCRIPT_FILENAME $document_root/cgit.cgi;
+# fastcgi_param PATH_INFO $uri;
+# fastcgi_param QUERY_STRING $args;
+# fastcgi_param HTTP_HOST $server_name;
+# fastcgi_param CGIT_CONFIG /usr/local/etc/cgitusers/jozan;
+# fastcgi_pass unix:/var/run/fcgiwrap/fcgiwrap.sock;
+#
+# gzip off;
+# #rewrite ^ https://$server_name$request_uri permanent;
+# rewrite ^/([^/]+/.*)?$ /cgit.cgi?url=$1 break;
+# }
error_page 403 /403.html;
location = /403.html {
root /usr/local/www/gitjoe/err;
@@ -112,7 +112,7 @@ http {
server {
listen 80;
- server_name cgit.gitjoe.xyz;
+ server_name repos.gitjoe.xyz;
root /usr/local/www/cgit;
try_files $uri @cgit;
index cgit.cgi;