Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Client
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
web-et-numerique
Factory
Resin
Client
Commits
0824c8d1
Commit
0824c8d1
authored
1 week ago
by
Etienne LOUPIAS
Browse files
Options
Downloads
Patches
Plain Diff
fix stdout
parent
702936a0
No related branches found
No related tags found
1 merge request
!991
Store nginx logs
Pipeline
#124796
passed
1 week ago
Stage: build
Stage: deploy
Stage: quality
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
nginx/templates/default.conf.template
+5
-2
5 additions, 2 deletions
nginx/templates/default.conf.template
with
5 additions
and
2 deletions
nginx/templates/default.conf.template
+
5
−
2
View file @
0824c8d1
...
@@ -55,9 +55,12 @@ server {
...
@@ -55,9 +55,12 @@ server {
proxy_pass https://data.grandlyon.com/fr/datapusher/ws/grandlyon/adr_voie_lieu.adrcomgl/all.json;
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 {
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 / {
location / {
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment