[ false, "arti24.eu", "www", "api"]
This commit is contained in:
parent
7bef889c72
commit
883be8388e
|
|
@ -3,7 +3,7 @@ def domainsToCert = [
|
||||||
// [ false, 'bodypainter.eu', "mail", "stat", "www" ]
|
// [ false, 'bodypainter.eu', "mail", "stat", "www" ]
|
||||||
|
|
||||||
// [ false, 'artikus.dynu.net', "mail", "stat", "www", "nextcloud" ]
|
// [ false, 'artikus.dynu.net', "mail", "stat", "www", "nextcloud" ]
|
||||||
[ false, "arti24.eu", "www"]
|
[ false, "arti24.eu", "www", "api"]
|
||||||
]
|
]
|
||||||
|
|
||||||
def createCert(domains, repo){
|
def createCert(domains, repo){
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,29 @@
|
||||||
|
server {
|
||||||
|
|
||||||
|
listen 443 ssl;
|
||||||
|
server_name api.arti24.eu;
|
||||||
|
|
||||||
|
server_tokens off;
|
||||||
|
|
||||||
|
ssl_certificate /letsencrypt/live/arti24.eu/fullchain.pem;
|
||||||
|
ssl_certificate_key /letsencrypt/live/arti24.eu/privkey.pem;
|
||||||
|
|
||||||
|
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
|
||||||
|
ssl_ciphers HIGH:!aNULL:!MD5;
|
||||||
|
|
||||||
|
|
||||||
|
location / {
|
||||||
|
|
||||||
|
proxy_pass http://angular-services:8800;
|
||||||
|
|
||||||
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
|
proxy_set_header Host $host;
|
||||||
|
proxy_set_header X-Forwarded-Host $host;
|
||||||
|
proxy_set_header X-Forwarded-Port $server_port;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue