Changeset View
Changeset View
Standalone View
Standalone View
roles/webserver-legacy/nginx/files/vhosts/nasqueron.org/api.conf
Show All 35 Lines | server { | ||||
include includes/letsencrypt; | include includes/letsencrypt; | ||||
location ~ [^/]\.json(/|$) { | location ~ [^/]\.json(/|$) { | ||||
include includes/cors-open; | include includes/cors-open; | ||||
} | } | ||||
location /datasources { | location /datasources { | ||||
proxy_pass http://equatower.nasqueron.org:19080; | proxy_pass http://docker-001.nasqueron.org:19080; | ||||
include includes/proxy; | include includes/proxy; | ||||
include includes/cors-open; | include includes/cors-open; | ||||
} | } | ||||
location = /servers-log/all.json { | location = /servers-log/all.json { | ||||
include includes/cors-open; | include includes/cors-open; | ||||
# As a real time log, we don't want this file to be cached. | # As a real time log, we don't want this file to be cached. | ||||
Show All 13 Lines | location /servers-log { | ||||
include fastcgi_params; | include fastcgi_params; | ||||
} | } | ||||
location ~ /docker/registry/?$ { | location ~ /docker/registry/?$ { | ||||
return 302 https://docs.nasqueron.org/docker-registry-api/; | return 302 https://docs.nasqueron.org/docker-registry-api/; | ||||
} | } | ||||
location /docker/registry { | location /docker/registry { | ||||
proxy_pass http://equatower.nasqueron.org:20080/; | proxy_pass http://docker-001.nasqueron.org:20080/; | ||||
include includes/proxy; | include includes/proxy; | ||||
include includes/cors-open; | include includes/cors-open; | ||||
} | } | ||||
} | } | ||||
server { | server { | ||||
listen 80; | listen 80; | ||||
listen [::]:80; | listen [::]:80; | ||||
Show All 30 Lines |
Nasqueron DevCentral · If it had been much bigger the moon would have had a core of ice. · Powered by Phabricator