diff --git a/examples/apache/photo_app.example.com.conf.example b/examples/apache/photo_app.example.com.conf.example index ec78f8c..68348ee 100644 --- a/examples/apache/photo_app.example.com.conf.example +++ b/examples/apache/photo_app.example.com.conf.example @@ -1,6 +1,6 @@ - ServerName photo_app.example.com + ServerName photoapp.example.com ProxyPass "/.well-known" ! ProxyPass "/favicon.ico" ! ProxyPass "/css" ! diff --git a/examples/apache/photoapp.example.com.conf.example b/examples/apache/photoapp.example.com.conf.example new file mode 100644 index 0000000..68348ee --- /dev/null +++ b/examples/apache/photoapp.example.com.conf.example @@ -0,0 +1,34 @@ + + + ServerName photoapp.example.com + ProxyPass "/.well-known" ! + ProxyPass "/favicon.ico" ! + ProxyPass "/css" ! + ProxyPass "/js" ! + ProxyPass "/" "http://127.0.0.1:8200/" + ProxyPassReverse "/" "http://127.0.0.1:8200/" + ErrorLog ${APACHE_LOG_DIR}/error.log + CustomLog ${APACHE_LOG_DIR}/access.log combined + + alias "/css" "/var/lib//css" + alias "/js" "/var/lib//js" + + /css"> + ExpiresActive on + ExpiresDefault "access plus 15 minutes" + Header set Cache-Control max-age=900 + Options Indexes + Require all granted + Allow from all + + + /js"> + ExpiresActive on + ExpiresDefault "access plus 15 minutes" + Header set Cache-Control max-age=900 + Options Indexes + Require all granted + Allow from all + + + diff --git a/examples/apache/photos.example.com.conf b/examples/apache/photos.example.com.conf.example similarity index 100% rename from examples/apache/photos.example.com.conf rename to examples/apache/photos.example.com.conf.example