Advertisement
kastielspb

Local subdomains config

Dec 20th, 2019
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.27 KB | None | 0 0
  1. ### /etc/hosts
  2. 127.0.0.1       localhost
  3. 127.0.0.1       local.dev.io
  4. 127.0.0.1       adminsub.local.dev.io
  5. 127.0.0.1       u3sub.local.dev.io
  6. ...
  7.  
  8. ### local.py
  9. # SECURE_HSTS_INCLUDE_SUBDOMAINS = True
  10. # DOMAIN_NAME = "local.dev.io"
  11. SESSION_COOKIE_DOMAIN = ".local.dev.io"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement