Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 1.24 KB

README.md

File metadata and controls

31 lines (24 loc) · 1.24 KB

dummy-pages (demo)

I create this project as testing environment. In other words, this toy project allows emulating more than one origin (dummyX.local&app.dummyX.local) and to check how the browser works with a different set of server headers and configurations (e.g., CSP, Cookies, Permissions-policies, ...).

Install

# Edit /etc/hosts
sudo echo "# dummy-pages" >> /etc/hosts
sudo echo "127.0.0.1 dummy.local dummy2.local dummy3.local" >> /etc/hosts 
sudo echo "127.0.0.1 app.dummy.local app.dummy2.local app.dummy3.local >> /etc/hosts

Run

# Needs the sudo for opening port 443
# No malware I promise
sudo python3 app.py

# Visit https://dummy.local/ on the browser

Other test pages