diff options
author | Dmitry Ilvokhin <d@ilvokhin.com> | 2024-03-03 14:11:45 +0000 |
---|---|---|
committer | Dmitry Ilvokhin <d@ilvokhin.com> | 2024-03-03 14:11:45 +0000 |
commit | 9920d404374275ef80b21421ae3a1ab8211fd88d (patch) | |
tree | 57b32073b91ea2f2071c63d80a9ec8978a5a516e /roles/git/files/git.ilvokhin.com | |
parent | dda24d15031f6ca179bede64beef9ff3f6e7d6eb (diff) | |
download | infra-9920d404374275ef80b21421ae3a1ab8211fd88d.tar.gz infra-9920d404374275ef80b21421ae3a1ab8211fd88d.tar.bz2 infra-9920d404374275ef80b21421ae3a1ab8211fd88d.zip |
Rename git role to gitserver
Diffstat (limited to 'roles/git/files/git.ilvokhin.com')
-rw-r--r-- | roles/git/files/git.ilvokhin.com | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/roles/git/files/git.ilvokhin.com b/roles/git/files/git.ilvokhin.com deleted file mode 100644 index d94585f..0000000 --- a/roles/git/files/git.ilvokhin.com +++ /dev/null @@ -1,26 +0,0 @@ -server { - server_name git.ilvokhin.com; - - auth_basic "Restricted"; - auth_basic_user_file /etc/nginx/auth/git/.htpasswd; - - # Asterisk (*) is here to match both git.conf and cgit.conf (if the latter - # exists), because cgit comes with a separate role, but they share one - # server (git.ilvokhin.com) for usage convenience. - include includes/*git.conf; - - listen 443 ssl; - ssl_certificate /etc/letsencrypt/live/git.ilvokhin.com/fullchain.pem; - ssl_certificate_key /etc/letsencrypt/live/git.ilvokhin.com/privkey.pem; -} - -server { - if ($host = git.ilvokhin.com) { - return 301 https://$host$request_uri; - } - - server_name git.ilvokhin.com; - listen 80; - - return 404; -} |