[nginx/conf] Update TLS cert locations
The setup now uses my Kubernetes controller for Let's Encrypt. This changes the nginx certificate locations to match the new secrets.
This commit is contained in:
parent
cfe9387af1
commit
8bc007c7f3
2 changed files with 21 additions and 8 deletions
|
|
@ -16,10 +16,10 @@ server {
|
|||
|
||||
# Redirect for oslo.pub
|
||||
server {
|
||||
listen 80;
|
||||
listen 80;
|
||||
listen 443 ssl;
|
||||
server_name oslo.pub *.oslo.pub;
|
||||
return 302 https://git.tazj.in/tazjin/pubkartet;
|
||||
server_name oslo.pub *.oslo.pub;
|
||||
return 302 https://git.tazj.in/tazjin/pubkartet;
|
||||
}
|
||||
|
||||
# Gogs web interface
|
||||
|
|
@ -31,10 +31,23 @@ server {
|
|||
}
|
||||
}
|
||||
|
||||
# tazj.in -> www.tazj.in
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
server_name tazj.in;
|
||||
|
||||
ssl_certificate /etc/nginx/ssl/tazj.in/fullchain.pem;
|
||||
ssl_certificate_key /etc/nginx/ssl/tazj.in/key.pem;
|
||||
|
||||
location / {
|
||||
return 301 https://www.tazj.in$request_uri;
|
||||
}
|
||||
}
|
||||
|
||||
# TazBlog
|
||||
server {
|
||||
listen 443 ssl http2 default_server;
|
||||
server_name www.tazj.in tazj.in default;
|
||||
server_name www.tazj.in default;
|
||||
|
||||
location / {
|
||||
proxy_pass http://tazblog-priv.default.svc.cluster.local/;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue