35 lines
990 B
Plaintext
35 lines
990 B
Plaintext
server {
|
|
listen 443 ssl;
|
|
listen [::]:443 ssl;
|
|
server_name grafana.lisglosips.local;
|
|
|
|
include /etc/nginx/snippets/lisglosips-tls.conf;
|
|
add_header Strict-Transport-Security "max-age=300" always;
|
|
add_header X-Content-Type-Options "nosniff" always;
|
|
add_header X-Frame-Options "DENY" always;
|
|
add_header Referrer-Policy "same-origin" always;
|
|
|
|
location / {
|
|
include /etc/nginx/snippets/lisglosips-proxy.conf;
|
|
proxy_pass http://127.0.0.1:3001;
|
|
}
|
|
}
|
|
|
|
server {
|
|
listen 443 ssl;
|
|
listen [::]:443 ssl;
|
|
server_name homer.lisglosips.local;
|
|
|
|
include /etc/nginx/snippets/lisglosips-tls.conf;
|
|
add_header Strict-Transport-Security "max-age=300" always;
|
|
add_header X-Content-Type-Options "nosniff" always;
|
|
add_header X-Frame-Options "DENY" always;
|
|
add_header Referrer-Policy "same-origin" always;
|
|
|
|
location / {
|
|
include /etc/nginx/snippets/lisglosips-proxy.conf;
|
|
proxy_pass http://127.0.0.1:9080;
|
|
}
|
|
}
|
|
|