surrogator-rpm/surrogator.conf
Daniel Demus f5bd20b9e0 Package including selinux
Move from dist-git
2025-01-02 17:18:07 +01:00

27 lines
647 B
Plaintext

<VirtualHost 0.0.0.0:80>
ServerName avatars.example.com
Redirect / https://avatars.example.com
</VirtualHost>
<VirtualHost 0.0.0.0:443>
ServerName avatars.example.com
ErrorLog logs/avatars.example.com-error_log
TransferLog logs/avatars.example.com-access_log
LogLevel warn
CustomLog logs/avatars.example.com-request_log "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
DocumentRoot /usr/share/surrogator/www
<Location />
Require all granted
Options Indexes MultiViews FollowSymlinks
</Location>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^avatar/ avatar.php [L]
</IfModule>
</VirtualHost>