Page MenuHomeDevCentral

D1314.diff
No OneTemporary

D1314.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
Wed, Nov 6, 09:29 (21 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2231587
Default Alt Text
D1314.diff (796 B)

Event Timeline