Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
ISPConfig 3
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
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ISPConfig
ISPConfig 3
Merge requests
!526
The source project of this merge request has been removed.
changed template for nginx + LE
Merged
changed template for nginx + LE
(removed):stable-3.1
into
stable-3.1
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Florian Schaal
requested to merge
(removed):stable-3.1
into
stable-3.1
8 years ago
Overview
0
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Compare
stable-3.1
stable-3.1 (base)
and
latest version
latest version
ef90930f
1 commit,
8 years ago
1 file
+
12
−
10
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
server/conf/nginx_vhost.conf.master
+
12
−
10
Options
@@ -114,10 +114,18 @@ server {
access_log /var/log/ispconfig/httpd/<tmpl_var name='domain'>/access.log combined;
## Disable .htaccess and other hidden files
location ~ /\.(?!well-known/acme-challenge/) {
deny all;
access_log off;
log_not_found off;
location ~ /\. {
deny all;
}
## Allow access for .well-known/acme-challenge
location ^~ /.well-known/acme-challenge/ {
access_log off;
log_not_found off;
root /usr/local/ispconfig/interface/acme/;
autoindex off;
index index.html;
try_files $uri $uri/ =404;
}
location = /favicon.ico {
@@ -303,12 +311,6 @@ server {
server_name <tmpl_var name='rewrite_domain'>;
location ~ /\.well-known/acme-challenge/ {
root /usr/local/ispconfig/interface/acme/;
index index.html index.htm;
try_files $uri =404;
}
<tmpl_if name='alias_seo_redirects2'>
<tmpl_loop name="alias_seo_redirects2">
if ($http_host <tmpl_var name='alias_seo_redirect_operator'> "<tmpl_var name='alias_seo_redirect_origin_domain'>") {
Loading