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
Merge requests
!68
Recette
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Recette
recette
into
master
Overview
0
Commits
241
Pipelines
0
Changes
226
Merged
Hugo SUBTIL
requested to merge
recette
into
master
4 years ago
Overview
0
Commits
241
Pipelines
0
Changes
226
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
44de48e3
241 commits,
4 years ago
226 files
+
23754
−
2218
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
226
Search (e.g. *.vue) (Ctrl+P)
nginx/dev.conf
+
27
−
5
Options
server
{
listen
8080
default_server
;
root
/
usr
/
share
/
nginx
/
html
;
root
/
usr
/
share
/
nginx
/
html
/;
set
$
matomo_script
"
<
script
type
=
'text/javascript'
>
var
_
paq
=
window
.
_
paq
=
window
.
_
paq
|| [];
_
paq
.
push
([
'trackPageView'
]);
_
paq
.
push
([
'enableLinkTracking'
]);
(
function
() {
var
u
=
'<URL_GDLYON>'
;
_
paq
.
push
([
'setTrackerUrl'
,
u
+
'piwik.php'
]);
_
paq
.
push
([
'setSiteId'
,
'<SITE_ID>'
]);
var
d
=
document
,
g
=
d
.
createElement
(
'script'
),
s
=
d
.
getElementsByTagName
(
'script'
)[
0
];
g
.
type
=
'text/javascript'
;
g
.
async
=
true
;
g
.
src
=
u
+
'piwik.js'
;
s
.
parentNode
.
insertBefore
(
g
,
s
);
})();
</
script
>
"
;
location
/ {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
try_files
$
uri
$
uri
/ /
index
.
html
;
sub_filter
'</head>'
'$matomo_script</head>'
;
}
location
/
api
{
rewrite
^/
api
/(.*) /$
1
break
;
proxy_pass
http
://
json
-
server
:
3000
/
api
;
proxy_pass
http
://
service
-
ram
:
3000
/
api
;
}
# Public api redirect
location
/
base
-
adresse
/
base
-
adresse
-
nationale
/
streets
{
location
/
base
-
adresse
/
base
-
adresse
-
nationale
/
streets
{
proxy_pass
https
://
passerelle
.
formulaireextranet
.
grandlyon
.
com
/
base
-
adresse
/
base
-
adresse
-
nationale
/
streets
;
}
location
/
geocoding
/
photon
/
api
{
proxy_pass
https
://
download
.
data
.
grandlyon
.
com
/
geocoding
/
photon
/
api
;
}
@@ -32,9 +45,18 @@ server {
proxy_pass
https
://
download
.
data
.
grandlyon
.
com
/
wfs
/
grandlyon
;
}
location
~* (/
ghost
) {
expires
epoch
;
proxy_no_cache
1
;
proxy_pass
http
://
ghost
:
2368
;
}
# REALLY important for JavaScript modules (type="module") to work as expected!!!
location
~ \.
js
{
add_header
Content
-
Type
text
/
javascript
;
}
}
Loading