Skip to content
GitLab
About GitLab
GitLab: the DevOps platform
Explore GitLab
Install GitLab
How GitLab compares
Get started
GitLab docs
GitLab Learn
Pricing
Talk to an expert
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Projects
Groups
Snippets
Sign up now
Login
Sign in
Toggle navigation
Menu
Open sidebar
project
provision
Commits
159c6d53
Commit
159c6d53
authored
Nov 15, 2014
by
Grazyna Jaworska
Browse files
Nginx: Remember real site name in $main_site_name and MAIN_SITE_NAME.
parent
157fa70d
Changes
1
Hide whitespace changes
Inline
Side-by-side
http/Provision/Config/Nginx/vhost.tpl.php
View file @
159c6d53
...
...
@@ -24,6 +24,8 @@ if ($ssl_redirection || $this->redirection) {
server {
include fastcgi_params;
fastcgi_param MAIN_SITE_NAME
<?php
print
$this
->
uri
;
?>
;
set $main_site_name "
<?php
print
$this
->
uri
;
?>
";
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param db_type
<?php
print
urlencode
(
$db_type
);
?>
;
fastcgi_param db_name
<?php
print
urlencode
(
$db_name
);
?>
;
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment