hub ssh port
This commit is contained in:
parent
bb962c6c9b
commit
177df76764
20
443.conf
20
443.conf
@ -92,6 +92,26 @@ server {
|
|||||||
# proxy_pass http://35.193.122.195/;
|
# proxy_pass http://35.193.122.195/;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
server {
|
||||||
|
listen 10022 ssl http2;
|
||||||
|
listen [::]:10022 ssl http2;
|
||||||
|
|
||||||
|
server_name hub.inno-js.ru;
|
||||||
|
|
||||||
|
ssl_certificate /etc/letsencrypt/live/hub.inno-js.ru/fullchain.pem;
|
||||||
|
ssl_certificate_key /etc/letsencrypt/live/hub.inno-js.ru/privkey.pem;
|
||||||
|
ssl_trusted_certificate /etc/letsencrypt/live/hub.inno-js.ru/chain.pem;
|
||||||
|
|
||||||
|
include /etc/nginx/snippets/ssl-params.conf;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
add_header 'Access-Control-Allow-Origin' '*';
|
||||||
|
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
|
||||||
|
add_header 'Access-Control-Allow-Headers' 'DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range';
|
||||||
|
add_header 'Access-Control-Expose-Headers' 'Content-Length,Content-Range';
|
||||||
|
proxy_pass http://85.143.175.152:10022/;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
# listen 80;
|
# listen 80;
|
||||||
|
Loading…
Reference in New Issue
Block a user