summaryrefslogtreecommitdiff
path: root/guix/etc/nginx
diff options
context:
space:
mode:
authorNils Gillmann <ng0@n0.is>2018-10-29 12:40:49 +0000
committerNils Gillmann <ng0@n0.is>2018-10-29 12:40:49 +0000
commit2df5d46867e9d6701e55ab837b45ece5dda68099 (patch)
tree6d52ad298c7b453a69f1de3bc7e1d5bf5c2ec714 /guix/etc/nginx
parent8d205b76dcfe4659e73ac3a97aa8792a517c5774 (diff)
downloaddeployment-2df5d46867e9d6701e55ab837b45ece5dda68099.tar.gz
deployment-2df5d46867e9d6701e55ab837b45ece5dda68099.tar.bz2
deployment-2df5d46867e9d6701e55ab837b45ece5dda68099.zip
git-ssl nginx
Signed-off-by: Nils Gillmann <ng0@n0.is>
Diffstat (limited to 'guix/etc/nginx')
-rw-r--r--guix/etc/nginx/sites-enabled/git-ssl.site9
1 files changed, 5 insertions, 4 deletions
diff --git a/guix/etc/nginx/sites-enabled/git-ssl.site b/guix/etc/nginx/sites-enabled/git-ssl.site
index 673ced5..a0c02f0 100644
--- a/guix/etc/nginx/sites-enabled/git-ssl.site
+++ b/guix/etc/nginx/sites-enabled/git-ssl.site
@@ -3,8 +3,9 @@ server {
listen [::]:443 ssl; ## listen for ipv4; this line is default and implied
# listen [::]:80 default_server ipv6only=on; ## listen for ipv6
- root /var/git;
- server_name git.taler.net;
+ root /srv/git;
+ #server_name git.taler.net;
+ server_name gv.taler.net;
include conf.d/talerssl;
access_log /var/log/nginx/git.taler.net_access.log;
@@ -12,7 +13,7 @@ server {
location ~ ^(.*?)\.git/(HEAD|info/refs|objects/.*|git-upload-pack)$ {
include /etc/nginx/fastcgi_params;
- fastcgi_param SCRIPT_FILENAME /usr/lib/git-core/git-http-backend;
+ fastcgi_param SCRIPT_FILENAME /run/current-system/profile/libexec/git-core/git-http-backend;
fastcgi_param GIT_PROJECT_ROOT /home/git/repositories;
fastcgi_param PATH_INFO $uri;
fastcgi_pass unix:/var/run/fcgiwrap.socket;
@@ -24,7 +25,7 @@ server {
location / {
include /etc/nginx/fastcgi_params;
- fastcgi_param SCRIPT_FILENAME /var/www/cgit/cgit.cgi;
+ fastcgi_param SCRIPT_FILENAME /run/current-system/profile/lib/cgit.cgi;
fastcgi_param PATH_INFO $uri;
fastcgi_pass unix:/var/run/fcgiwrap.socket;
}