diff --git a/MUOR/MUOR/configs/muor_before_location_block.conf b/MUOR/MUOR/configs/muor_before_location_block.conf
index 378d6228c..1a45e6d3c 100644
--- a/MUOR/MUOR/configs/muor_before_location_block.conf
+++ b/MUOR/MUOR/configs/muor_before_location_block.conf
@@ -39,7 +39,7 @@ server {
location = /error.html {
add_header Content-Type text/html;
- return 200 '';
+ return 200 '';
}
location /logout/ {
diff --git a/MUOR/MUOR/settings.py b/MUOR/MUOR/settings.py
index 81e22e07f..a3b7b9598 100644
--- a/MUOR/MUOR/settings.py
+++ b/MUOR/MUOR/settings.py
@@ -25,7 +25,7 @@ SECRET_KEY = 'django-insecure-t52#vo-k9ty*$@u9bf75hrkd#^o_)gadrz9$7w%xnkb-0#y!bi
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
-ALLOWED_HOSTS = ['127.0.0.1', 'localhost', 'django']
+ALLOWED_HOSTS = ['django']
# Application definition
@@ -50,8 +50,7 @@ MIDDLEWARE = [
'django.middleware.clickjacking.XFrameOptionsMiddleware',
]
-CSRF_TRUSTED_ORIGINS = ["http://localhost", "http://192.168.88.206",
- "http://randomsec.projektstudencki.pl"]
+CSRF_TRUSTED_ORIGINS = ["http://randomsec.projektstudencki.pl"]
ROOT_URLCONF = 'MUOR.urls'