diff --git a/nsupdate/main/templates/main/overview.html b/nsupdate/main/templates/main/overview.html
index 8be9743..3c378b9 100644
--- a/nsupdate/main/templates/main/overview.html
+++ b/nsupdate/main/templates/main/overview.html
@@ -14,7 +14,7 @@
{{ host.last_update|date }} |
{{ host.comment }} |
- edit |
+ edit |
delete
|
diff --git a/nsupdate/main/urls.py b/nsupdate/main/urls.py
index f8a7e0a..c5fd914 100644
--- a/nsupdate/main/urls.py
+++ b/nsupdate/main/urls.py
@@ -9,8 +9,8 @@ from api.views import (
urlpatterns = patterns('',
url(r'^$', HomeView.as_view(), name="home"),
url(r'^overview/$', OverviewView.as_view(), name='overview'),
- url(r'^host/(?P\d+)/$', HostView.as_view(), name='host'),
- url(r'^delete_host/(?P\d+)/$', DeleteHostView.as_view(), name='delete_host'),
+ url(r'^host/(?P\d+)/$', HostView.as_view(), name='host_view'),
+ url(r'^host/(?P\d+)/delete/$', DeleteHostView.as_view(), name='delete_host'),
url(r'^myip$', MyIpView),
url(r'^updateip$', UpdateIpView),
url(r'^nic/update$', NicUpdateView),
diff --git a/nsupdate/nsupdate/settings.py b/nsupdate/nsupdate/settings.py
index 19acc6c..cf89fe5 100644
--- a/nsupdate/nsupdate/settings.py
+++ b/nsupdate/nsupdate/settings.py
@@ -201,6 +201,8 @@ LOGGING = {
},
}
+SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
+
ACCOUNT_ACTIVATION_DAYS = 7
LOGIN_REDIRECT_URL = '/overview/'