]> jfr.im git - irc/rizon/qchat.git/commitdiff
This url rewriting thing is a bad idea, just use SSL only rizon origin/HEAD origin/rizon
authorAdam <redacted>
Sun, 11 Jan 2015 03:55:16 +0000 (22:55 -0500)
committerAdam <redacted>
Sun, 11 Jan 2015 03:55:16 +0000 (22:55 -0500)
apache.conf
config.py.example

index c2be0aa10e193312a0e6f78ea141582163c46867..5f205fa0dc604d2baf4797bace0667933b5fc13d 100644 (file)
@@ -1,12 +1,7 @@
 nonssl:
-                #ProxyPass / http://127.0.0.1:8080/
-                #ProxyPassReverse / http://127.0.0.1:8080/
                 Redirect permanent / https://qchat.rizon.net
 
 ssl:
-                SetOutputFilter INFLATE;SUBSTITUTE;DEFLATE
-                Substitute s|http://|https://|i
-
                 Header always set Access-Control-Allow-Origin "*"
                 Header always set Access-Control-Allow-Methods "POST, GET, OPTIONS, DELETE, PUT"
                 Header always set Access-Control-Max-Age "1000"
index d9f51335d90839ed864b35cfd83ad34be677c97e..0f56ba87e511c5b86dad1a63e4c5c4241f742e3d 100644 (file)
@@ -93,7 +93,7 @@ WEBIRC_MODE = None
 # OPTION: BASE_URL
 #         URL that this qwebirc instance will be available at, add the
 #         port number if your instance runs on a port other than 80.
-BASE_URL = "https://qchat.rizon.net/"
+BASE_URL = "http://qchat.rizon.net/"
 
 # OPTION: NETWORK_NAME
 #         The name of your IRC network, displayed throughout the
@@ -177,12 +177,12 @@ ADMIN_ENGINE_HOSTS = ["127.0.0.1"]
 #         If you're using a proxy that passes through a forwarded-for
 #         header set this option to the header name, also set
 #         FORWARDED_FOR_IPS.
-FORWARDED_FOR_HEADER="x-forwarded-for"
+FORWARDED_FOR_HEADER = "x-forwarded-for"
  
 # OPTION: FORWARDED_FOR_IPS
 #         This option specifies the IP addresses that forwarded-for
 #         headers will be accepted from.
-FORWARDED_FOR_IPS=["127.0.0.1"]
+FORWARDED_FOR_IPS = ["127.0.0.1"]
 
 # EXECUTION OPTIONS
 # ---------------------------------------------------------------------