grafito demo
This commit is contained in:
parent
8f185cceef
commit
f0c9ad04f8
@ -24,6 +24,27 @@ server {
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
listen 8080;
|
||||
listen [::]:8080;
|
||||
|
||||
server_name grafito-demo.ralsina.me;
|
||||
|
||||
add_header 'Access-Control-Allow-Origin' $allow_origin;
|
||||
add_header 'Access-Control-Allow-Headers' '*';
|
||||
add_header 'Access-Control-Allow-Credentials' 'true';
|
||||
add_header 'Allow' 'POST, GET, OPTIONS';
|
||||
|
||||
if ($request_method = 'OPTIONS' ) {
|
||||
return 200;
|
||||
}
|
||||
|
||||
location / {
|
||||
proxy_pass http://rocky.tail20c16.ts.net:1112;
|
||||
proxy_set_header X-Forwarded-Host $http_host;
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
listen 8080;
|
||||
listen [::]:8080;
|
||||
|
Loading…
x
Reference in New Issue
Block a user