Skip to content

Commit

Permalink
Fixed: Changes made in Apache2 vhost files regarding mod_proxy_fcgi b…
Browse files Browse the repository at this point in the history
…reak nextcloud instances
  • Loading branch information
nuxwin committed Dec 14, 2016
1 parent 7b40b89 commit 005d7bc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
9 changes: 5 additions & 4 deletions configs/debian/apache/parts/domain.tpl
Expand Up @@ -39,10 +39,11 @@
ProxySet connectiontimeout=5 timeout=7200
</Proxy>

RewriteEngine On
RewriteCond %{REQUEST_URI} \.ph(p[3457]?|t|tml)$
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -f
RewriteRule (.*) - [H=proxy:{PROXY_FCGI_URL},NC]
<FilesMatch \.ph(p[3457]?|t|tml)$>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule .* - [H=proxy:{PROXY_FCGI_URL},NC]
</FilesMatch>
# SECTION mod_proxy_fcgi END.
# SECTION php_fpm END.
# SECTION php_enabled END.
Expand Down
9 changes: 5 additions & 4 deletions configs/debian/apache/parts/domain_ssl.tpl
Expand Up @@ -38,10 +38,11 @@
ProxySet connectiontimeout=5 timeout=7200
</Proxy>

RewriteEngine On
RewriteCond %{REQUEST_URI} \.ph(p[3457]?|t|tml)$
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -f
RewriteRule (.*) - [H=proxy:{PROXY_FCGI_URL},NC]
<FilesMatch \.ph(p[3457]?|t|tml)$>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule .* - [H=proxy:{PROXY_FCGI_URL},NC]
</FilesMatch>
# SECTION mod_proxy_fcgi END.
# SECTION php_fpm END.
# SECTION php_enabled END.
Expand Down

0 comments on commit 005d7bc

Please sign in to comment.