Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
I
ipv6-dot-work
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ungleich-public
ipv6-dot-work
Commits
216a5c3c
Commit
216a5c3c
authored
Nov 16, 2018
by
Aatish Neupane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
force script name so it works behind proxy_pass
parent
bca7a220
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
ipv6work/settings.py
ipv6work/settings.py
+10
-2
No files found.
ipv6work/settings.py
View file @
216a5c3c
...
@@ -131,8 +131,16 @@ AUTHENTICATION_BACKENDS = (
...
@@ -131,8 +131,16 @@ AUTHENTICATION_BACKENDS = (
'django_auth_ldap.backend.LDAPBackend'
,
'django_auth_ldap.backend.LDAPBackend'
,
)
)
LOGIN_REDIRECT_URL
=
'/'
USE_X_FORWARDED_HOST
=
True
LOGOUT_REDIRECT_URL
=
'/'
FORCE_SCRIPT_NAME
=
'/ipv6/work/'
LOGIN_URL
=
'login'
LOGOUT_URL
=
'logout'
ROOT_URLCONF
=
'ipv6work.urls'
LOGIN_REDIRECT_URL
=
FORCE_SCRIPT_NAME
LOGOUT_REDIRECT_URL
=
FORCE_SCRIPT_NAME
# Internationalization
# Internationalization
# https://docs.djangoproject.com/en/2.1/topics/i18n/
# https://docs.djangoproject.com/en/2.1/topics/i18n/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment