Page MenuHomeDevCentral

D1314.id3374.diff
No OneTemporary

D1314.id3374.diff

diff --git a/roles/webserver-legacy/nginx/files/vhosts/nasqueron.org/api.conf b/roles/webserver-legacy/nginx/files/vhosts/nasqueron.org/api.conf
--- a/roles/webserver-legacy/nginx/files/vhosts/nasqueron.org/api.conf
+++ b/roles/webserver-legacy/nginx/files/vhosts/nasqueron.org/api.conf
@@ -44,6 +44,16 @@
include includes/cors-open;
alias /srv/api/data/servers-log-all.json;
}
+
+ location /servers-log {
+ # Mount the microservice to /servers-log,
+ # removing the URL from the document URI.
+ rewrite ^/servers\-log/?(.*)$ /$1 break;
+
+ fastcgi_pass unix:/var/run/web/api.nasqueron.org/php-fpm.sock;
+ fastcgi_param SCRIPT_FILENAME /srv/api/servers-log/src/public/index.php;
+ include fastcgi_params;
+ }
}
server {

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 24, 04:10 (4 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2259255
Default Alt Text
D1314.id3374.diff (796 B)

Event Timeline