Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
P
provision
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
1
Merge Requests
1
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
provision
Commits
648753f0
Commit
648753f0
authored
Mar 01, 2019
by
ergonlogic
Committed by
llamech
Mar 28, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#3025905
by llamech, ergonlogic: Add missing headers to Nginx subdir vhost template.
parent
2352a334
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
http/Provision/Config/Nginx/subdir.tpl.php
http/Provision/Config/Nginx/subdir.tpl.php
+5
-1
No files found.
http/Provision/Config/Nginx/subdir.tpl.php
View file @
648753f0
...
...
@@ -1109,9 +1109,11 @@ location ^~ /<?php print $subdir; ?> {
fastcgi_param db_host
<?php
print
urlencode
(
$db_host
);
?>
;
fastcgi_param db_port
<?php
print
urlencode
(
$db_port
);
?>
;
fastcgi_param HTTP_HOST
<?php
print
$this
->
uri
;
?>
;
fastcgi_param HTTP_HOST
$host
;
fastcgi_param RAW_HOST $host;
fastcgi_param SITE_SUBDIR
<?php
print
$subdir
;
?>
;
fastcgi_param SCRIPT_URL /
<?php
print
$subdir
;
?>
/;
fastcgi_param SCRIPT_URI $scheme://$host/
<?php
print
$subdir
;
?>
/;
fastcgi_param MAIN_SITE_NAME
<?php
print
$this
->
uri
;
?>
;
fastcgi_param REDIRECT_STATUS 200;
...
...
@@ -1119,6 +1121,8 @@ location ^~ /<?php print $subdir; ?> {
set $real_fastcgi_script_name index.php;
fastcgi_param SCRIPT_FILENAME
<?php
print
"
{
$this
->
root
}
"
;
?>
/$real_fastcgi_script_name;
fastcgi_param SCRIPT_NAME /
<?php
print
$subdir
;
?>
/$real_fastcgi_script_name;
fastcgi_param PHP_SELF /
<?php
print
$subdir
;
?>
/$real_fastcgi_script_name;
add_header Cache-Control "no-store, no-cache, must-revalidate, post-check=0, pre-check=0";
tcp_nopush off;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment