Skip to content
Snippets Groups Projects
Commit 0824c8d1 authored by Etienne LOUPIAS's avatar Etienne LOUPIAS
Browse files

fix stdout

parent 702936a0
No related branches found
No related tags found
1 merge request!991Store nginx logs
Pipeline #124796 passed
......@@ -55,9 +55,12 @@ server {
proxy_pass https://data.grandlyon.com/fr/datapusher/ws/grandlyon/adr_voie_lieu.adrcomgl/all.json;
}
# Persist logs to a daily file
# Persist logs for jeuAieAieIA
location /shared/jeuAieAieIA {
access_log /usr/share/nginx/html/shared/jeuAieAieIA/stats/log/access.$year-$month-$day.log main;
# Default log which is redirected to stdout (must be reset in this block because of "access_log" below)
access_log /var/log/nginx/access.log main;
# And also write to a daily file
access_log /usr/share/nginx/html/shared/jeuAieAieIA/stats/log/access.$year-$month-$day.log main;
}
location / {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment