Browse Source

new: added rewrite rule from ``http`` to ``https``.

master
Valentin Lab 6 years ago
parent
commit
bfae969aab
  1. 4
      compose.yml

4
compose.yml

@ -19,6 +19,10 @@ odoo:
web-proxy: web-proxy:
frontend: frontend:
domain: mydomain.org domain: mydomain.org
apache-custom-rules: |
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=302,L,QSA]
ssl: letsencrypt ssl: letsencrypt
#server-aliases: #server-aliases:
# - mydomain2.org # - mydomain2.org

Loading…
Cancel
Save