service configuration files that needs to be saved just incase the server got lost someday by the cloud provider.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

20 lignes
857B

  1. <VirtualHost *:80>
  2. # The ServerName directive sets the request scheme, hostname and port that
  3. # the server uses to identify itself. This is used when creating
  4. # redirection URLs. In the context of virtual hosts, the ServerName
  5. # specifies what hostname must appear in the request's Host: header to
  6. # match this virtual host. For the default virtual host (this file) this
  7. # value is not decisive as it is used as a last resort host regardless.
  8. # However, you must set it for any further virtual host explicitly.
  9. ServerName lawipac.com
  10. ServerAlias www.lawipac.com
  11. redirect / https://lawipac.com/
  12. RewriteEngine on
  13. RewriteCond %{SERVER_NAME} =lawipac.com [OR]
  14. RewriteCond %{SERVER_NAME} =www.lawipac.com
  15. RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,QSA,R=permanent]
  16. </VirtualHost>