Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ISPConfig
ISPConfig 3
Commits
efab4779
Commit
efab4779
authored
Jun 11, 2018
by
Till Brehm
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into 'master'
nginx cgi bugfix See merge request
ispconfig/ispconfig3!793
parents
d204dbb9
cc32aad7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
server/conf/nginx_vhost.conf.master
server/conf/nginx_vhost.conf.master
+10
-0
No files found.
server/conf/nginx_vhost.conf.master
View file @
efab4779
...
...
@@ -243,6 +243,10 @@ server {
<tmpl_if name='cgi' op='==' value='y'>
location /cgi-bin/ {
try_files <tmpl_var name='rnd_php_dummy_file'> @cgi;
}
location @cgi {
try_files $uri =404;
include /etc/nginx/fastcgi_params;
root <tmpl_var name='document_root'>;
...
...
@@ -318,6 +322,12 @@ server {
location ~ \.php$ {
try_files <tmpl_var name='rnd_php_dummy_file'> @php;
}
<tmpl_if name='cgi' op='==' value='y'>
location ~ \.cgi$ {
try_files <tmpl_var name='rnd_php_dummy_file'> @cgi;
}
</tmpl_if>
}
</tmpl_loop>
</tmpl_if>
...
...
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