mirror of
https://github.com/TrentSPalmer/flask_photo_scaling_app.git
synced 2026-10-31 23:25:09 -07:00
update example apache confs
This commit is contained in:
1 parent
9e672e1471
commit
44c6983c42
3 files changed
+35
-1
No files matched your search
@@ -0,0 +1,16 @@
|
||||
<VirtualHost *:80>
|
||||
|
||||
ServerName photos.example.com
|
||||
DocumentRoot /var/lib/<app_user>/photos
|
||||
ErrorLog ${APACHE_LOG_DIR}/error.log
|
||||
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
||||
|
||||
<Directory "/var/lib/<app_user>/photos">
|
||||
ExpiresActive on
|
||||
ExpiresDefault "access plus 1 year"
|
||||
Header set Cache-Control max-age=31557600
|
||||
Options Indexes
|
||||
Require all granted
|
||||
</Directory>
|
||||
|
||||
</VirtualHost>
|
||||
Reference in new issue
Block a user