28 lines
836 B
Plaintext
28 lines
836 B
Plaintext
ServerName swarmops-frontend
|
|
ServerAdmin swarmops-frontend@swarmops.com
|
|
DocumentRoot /usr/share/swarmops/frontend/
|
|
|
|
# Explicitly specify Mono version 4
|
|
MonoServerPath swarmops-frontend "/usr/bin/mod-mono-server4"
|
|
|
|
# Uncomment the line below to enable debugging:
|
|
# MonoDebug swarmops-frontend true
|
|
|
|
# Uncomment the line below and enter FQDNs (one or more) for Swarmops if
|
|
# running virtual hosts:
|
|
# ServerAlias FQDN1 FQDN2 FQDN3 ...
|
|
|
|
MonoApplications swarmops-frontend "/:/usr/share/swarmops/frontend/"
|
|
<Location "/">
|
|
Allow from all
|
|
Order allow,deny
|
|
SetHandler mono
|
|
MonoSetServerAlias swarmops-frontend
|
|
SetOutputFilter DEFLATE
|
|
SetEnvIfNoCase Request_URI "\.(?:gif|jpe?g|png)$" no-gzip dont-vary
|
|
</Location>
|
|
<IfModule mod_deflate.c>
|
|
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/javascript
|
|
</IfModule>
|
|
|