20 lines
610 B
Plaintext
20 lines
610 B
Plaintext
<VirtualHost *:80>
|
|
ServerName plugins.example.com
|
|
DocumentRoot /opt/netbox-plugin-store/store/public
|
|
|
|
<Directory /opt/netbox-plugin-store/store/public>
|
|
Options -Indexes
|
|
AllowOverride All
|
|
Require all granted
|
|
</Directory>
|
|
|
|
ErrorLog ${APACHE_LOG_DIR}/netbox-plugin-store-error.log
|
|
CustomLog ${APACHE_LOG_DIR}/netbox-plugin-store-access.log combined
|
|
</VirtualHost>
|
|
|
|
ServerTokens Prod
|
|
ServerSignature Off
|
|
|
|
# Für Produktion HTTPS direkt mit mod_ssl konfigurieren (oder den vHost durch
|
|
# certbot ergänzen lassen). STORE_PUBLIC_URL muss anschließend https:// nutzen.
|