Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hello-world-nomad
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
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
uıןǝnbsɐW ןǝɐʞɔıW
hello-world-nomad
Commits
fdb7d04c
Commit
fdb7d04c
authored
2 years ago
by
uıןǝnbsɐW ןǝɐʞɔıW
Browse files
Options
Downloads
Patches
Plain Diff
Update project.nomad
parent
bd0404c5
No related branches found
No related tags found
No related merge requests found
Pipeline
#1460
passed
2 years ago
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
project.nomad
+3
-4
3 additions, 4 deletions
project.nomad
with
3 additions
and
4 deletions
project.nomad
+
3
−
4
View file @
fdb7d04c
...
...
@@ -98,12 +98,13 @@ server {
listen
80
;
server_name
localhost
;
root
/
usr
/
share
/
nginx
/
html
;
charset
utf-8
;
#access_log /var/log/nginx/log/host.access.log main;
location
/
{
root
/
usr
/
share
/
nginx
/
html
;
index
index
.
html
index
.
htm
;
try_files
$uri
$uri
/
index
.
php
;
}
#error_page 404 /404.html;
...
...
@@ -118,10 +119,8 @@ server {
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
location
~
\.
php$
{
root
/
usr
/
share
/
nginx
/
html
;
fastcgi_split_path_info
^
(.
+
\.
php
)(.*)
$
;
fastcgi_pass
{{
range
service
"php-fpm"
}}{{
.
Address
}}
:
{{
.
Port
}}{{
end
}}
;
fastcgi_index
index
.
php
;
fastcgi_param
SCRIPT_FILENAME
/
usr
/
share
/
nginx
/
html$fastcgi_script_name
;
include
fastcgi_params
;
}
...
...
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