added gitea to nginx
This commit is contained in:
parent
3debe958e4
commit
03f2a41081
26
nginx.conf
26
nginx.conf
@ -85,20 +85,20 @@ http {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# server {
|
server {
|
||||||
# listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
# listen [::]:443 ssl http2;
|
listen [::]:443 ssl http2;
|
||||||
# server_name www.gitea.hak8or.com gitea.hak8or.com;
|
server_name www.gitea.hak8or.com gitea.hak8or.com;
|
||||||
# access_log /var/log/nginx/gitea.access.log;
|
access_log /var/log/nginx/gitea.access.log;
|
||||||
|
|
||||||
# ssl_certificate /etc/letsencrypt/live/gitea.hak8or.com/fullchain.pem;
|
ssl_certificate /etc/letsencrypt/live/gitea.hak8or.com/fullchain.pem;
|
||||||
# ssl_certificate_key /etc/letsencrypt/live/gitea.hak8or.com/privkey.pem;
|
ssl_certificate_key /etc/letsencrypt/live/gitea.hak8or.com/privkey.pem;
|
||||||
# ssl_trusted_certificate /etc/letsencrypt/live/gitea.hak8or.com/fullchain.pem;
|
ssl_trusted_certificate /etc/letsencrypt/live/gitea.hak8or.com/fullchain.pem;
|
||||||
|
|
||||||
# location / {
|
location / {
|
||||||
# proxy_pass http://192.168.1.6:3000;
|
proxy_pass http://192.168.1.6:3900;
|
||||||
# }
|
}
|
||||||
# }
|
}
|
||||||
|
|
||||||
# server {
|
# server {
|
||||||
# listen 443 ssl http2;
|
# listen 443 ssl http2;
|
||||||
@ -117,7 +117,7 @@ http {
|
|||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
listen [::]:443 ssl http2;
|
listen [::]:443 ssl http2;
|
||||||
server_name www.yarrr.hak8or.com yarrr.hak8or.com;
|
server_name www.yarrr.hak8or.com yarrr.hak8or.com;
|
||||||
access_log /var/log/nginx/yarrr.access.log;
|
access_log /var/log/nginx/yarrr.access.log;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user