Ei kuvausta
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

etc_apache2_sites-available_00-status.conf 480B

1234567891011121314151617181920
  1. # This needs to be the first configured virtualhost on port 80 so that
  2. # requests to http://localhost hit this rather than any other vhost
  3. <VirtualHost *:80>
  4. <Location />
  5. SetHandler server-status
  6. Require ip 127.0.0.1
  7. </Location>
  8. Redirect temp / https://www.{{ domain }}/
  9. </VirtualHost>
  10. <VirtualHost *:443>
  11. SSLEngine On
  12. <Location />
  13. SetHandler server-status
  14. Require ip 127.0.0.1
  15. </Location>
  16. Redirect temp / https://www.{{ domain }}/
  17. </VirtualHost>