new domain : angular.arti24.eu
This commit is contained in:
parent
2cdc86bd7b
commit
1188a5a6af
|
|
@ -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", "api"]
|
[ false, "arti24.eu", "www", "api", "angular"]
|
||||||
]
|
]
|
||||||
|
|
||||||
def createCert(domains, repo){
|
def createCert(domains, repo){
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
server {
|
server {
|
||||||
|
|
||||||
listen 443 ssl;
|
listen 443 ssl;
|
||||||
server_name arti24.eu;
|
server_name angular.arti24.eu arti24.eu;
|
||||||
|
|
||||||
server_tokens off;
|
server_tokens off;
|
||||||
|
|
||||||
|
|
@ -11,16 +11,10 @@ server {
|
||||||
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
|
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
|
||||||
ssl_ciphers HIGH:!aNULL:!MD5;
|
ssl_ciphers HIGH:!aNULL:!MD5;
|
||||||
|
|
||||||
location /cv-angular{
|
location /cv-angular{
|
||||||
proxy_pass http://arti-angular-app:4200;
|
rewrite ^/cv-angular(.*)$ https://angular.arti24.eu/$1 redirect;
|
||||||
|
|
||||||
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;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue