more 443
This commit is contained in:
parent
9549b28965
commit
f87c278fcd
8
80.conf
8
80.conf
@ -27,6 +27,8 @@ server {
|
||||
|
||||
include "parts/api-multystub.conf";
|
||||
|
||||
include /etc/nginx/snippets/ssl-params.conf;
|
||||
|
||||
location / {
|
||||
add_header 'Access-Control-Allow-Origin' '*';
|
||||
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
|
||||
@ -49,6 +51,8 @@ server {
|
||||
|
||||
include "parts/api-multystub.conf";
|
||||
|
||||
include /etc/nginx/snippets/ssl-params.conf;
|
||||
|
||||
location / {
|
||||
add_header 'Access-Control-Allow-Origin' '*';
|
||||
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
|
||||
@ -72,6 +76,8 @@ server {
|
||||
set $appsRoot "/home/ijl/ijl/apps";
|
||||
root $appsRoot;
|
||||
|
||||
include /etc/nginx/snippets/ssl-params.conf;
|
||||
|
||||
location / {
|
||||
add_header 'Access-Control-Allow-Origin' '*';
|
||||
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
|
||||
@ -92,6 +98,8 @@ server {
|
||||
ssl_certificate_key /etc/letsencrypt/live/inno-js.ru/privkey.pem;
|
||||
ssl_trusted_certificate /etc/letsencrypt/live/inno-js.ru/chain.pem;
|
||||
|
||||
include /etc/nginx/snippets/ssl-params.conf;
|
||||
|
||||
location / {
|
||||
proxy_pass http://admin/;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user