[DRE-maint] Bug#828858: [PATCH] Catch www.SERVERNAME in nginx server blocks
Kent Shikama
kent at kentshikama.com
Tue Jun 28 14:24:44 UTC 2016
Package: diaspora-installer
Version: 0.5.7.1+debian2
Tags: patch
---
nginx.conf.example | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/nginx.conf.example b/nginx.conf.example
index 400fbc9..7112271 100644
--- a/nginx.conf.example
+++ b/nginx.conf.example
@@ -4,13 +4,13 @@ upstream domain11 {
server {
listen 80;
- server_name SERVERNAME_FIXME;
+ server_name SERVERNAME_FIXME www.SERVERNAME_FIXME;
rewrite ^ https://$server_name$request_uri? permanent;
}
server {
listen 443;
- server_name SERVERNAME_FIXME;
+ server_name SERVERNAME_FIXME www.SERVERNAME_FIXME;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-FORWARDED-PROTO https;
--
2.8.1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20160628/6ebbff5a/attachment.html>
More information about the Pkg-ruby-extras-maintainers
mailing list