chenged forwarding to allow http as well too
This commit is contained in:
@@ -3,7 +3,12 @@
|
||||
DocumentRoot /var/www/html
|
||||
ServerName www.<%= @ng_nagios_server %>
|
||||
ServerAlias <%= @ng_nagios_server %>
|
||||
<% if @ng_use_https == true -%>
|
||||
Redirect permanent / https://<%= @ng_nagios_server %>/nagios
|
||||
<% end -%>
|
||||
<% if @ng_use_https != true -%>
|
||||
Redirect permanent / http://<%= @ng_nagios_server %>/nagios
|
||||
<% end %>
|
||||
<Directory />
|
||||
AllowOverride All
|
||||
</Directory>
|
||||
|
||||
Reference in New Issue
Block a user