change address
This commit is contained in:
parent
b02e5bbb38
commit
da2e76cc88
MUOR/MUOR
@ -39,7 +39,7 @@ server {
|
||||
|
||||
location = /error.html {
|
||||
add_header Content-Type text/html;
|
||||
return 200 '<meta http-equiv="refresh" content="1; URL=http://localhost/" />';
|
||||
return 200 '<meta http-equiv="refresh" content="1; URL=http://randomsec.projektstudencki.pl/" />';
|
||||
}
|
||||
|
||||
location /logout/ {
|
||||
|
@ -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'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user