Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Castopod
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
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Albatroz Jeremias
Castopod
Commits
88fb618c
Commit
88fb618c
authored
2 years ago
by
Romain de Laage
Committed by
Yassine Doghri
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
build(docker): forward server name to the PHP application
fixes
#246
parent
7213ed29
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docker/production/web-server/nginx.conf
+2
-0
2 additions, 0 deletions
docker/production/web-server/nginx.conf
with
2 additions
and
0 deletions
docker/production/web-server/nginx.conf
+
2
−
0
View file @
88fb618c
...
...
@@ -61,6 +61,7 @@ http {
location
/
{
fastcgi_param
SCRIPT_FILENAME
/opt/castopod/public/index.php
;
include
fastcgi_params
;
fastcgi_param
SERVER_NAME
$host
;
fastcgi_index
index.php
;
fastcgi_pass
php-handler
;
}
...
...
@@ -69,6 +70,7 @@ http {
try_files
$uri
=
404
;
fastcgi_param
SCRIPT_FILENAME
/opt/castopod/public/
$fastcgi_script_name
;
include
fastcgi_params
;
fastcgi_param
SERVER_NAME
$host
;
fastcgi_index
index.php
;
fastcgi_pass
php-handler
;
}
...
...
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