http only
This commit is contained in:
28
conf/includes/metrology.conf
Normal file
28
conf/includes/metrology.conf
Normal file
@ -0,0 +1,28 @@
|
||||
server {
|
||||
listen 4439 ssl http2;
|
||||
listen [::]:4439 ssl http2;
|
||||
# https://oi-metrology-viewer-prod
|
||||
server_name oi-metrology-viewer-prod;
|
||||
# http://oi-metrology-viewer-prod:8080
|
||||
ssl_certificate "includes/oi-metrology-viewer-prod.cer";
|
||||
ssl_certificate_key "includes/oi-metrology-viewer-prod.key";
|
||||
ssl_password_file "includes/oi-metrology-viewer-prod.pass";
|
||||
ssl_protocols TLSv1.2 TLSv1.1 TLSv1;
|
||||
location / {
|
||||
autoindex on;
|
||||
root "D://Tmp//phares//wwwroot";
|
||||
}
|
||||
location /api/ {
|
||||
proxy_http_version 1.1;
|
||||
proxy_cache_bypass $http_upgrade;
|
||||
proxy_pass http://localhost:5002;
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_set_header Connection keep-alive;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header X-Forwarded-Proto https;
|
||||
}
|
||||
error_page 500 502 503 504 /50x.html;
|
||||
include "includes/html-error.conf";
|
||||
}
|
||||
|
||||
# see pipeline yml
|
Reference in New Issue
Block a user