diff options
author | Jesse Luehrs <doy@tozt.net> | 2020-04-28 02:31:23 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2020-04-28 02:31:23 -0400 |
commit | 494fa52ca7464592be1caea3b5a8c86c0c0b16ee (patch) | |
tree | 5341cc33a967c5b5b7ed01f28ef7cdabfedd7239 /modules/tozt/files/nginx/gitea.conf | |
parent | 9a827f48971b9c21beb44063a11be62f7d5a07d7 (diff) | |
download | puppet-tozt-494fa52ca7464592be1caea3b5a8c86c0c0b16ee.tar.gz puppet-tozt-494fa52ca7464592be1caea3b5a8c86c0c0b16ee.zip |
move gitea to its own domain
this is going to take a bit to set up
Diffstat (limited to 'modules/tozt/files/nginx/gitea.conf')
-rw-r--r-- | modules/tozt/files/nginx/gitea.conf | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/tozt/files/nginx/gitea.conf b/modules/tozt/files/nginx/gitea.conf new file mode 100644 index 0000000..2a59f34 --- /dev/null +++ b/modules/tozt/files/nginx/gitea.conf @@ -0,0 +1,10 @@ +server { + listen 80; + server_name gitea.tozt.net; + + access_log /var/log/nginx/gitea.access.log; + error_log /var/log/nginx/gitea.error.log; + + rewrite ^(.*) https://$host$1 permanent; +} +# vim:ft=nginx |