Skip to content

negibokken/cross-origin-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cross Origin playground

This repository is for testing cross origin environment.

Write below configuration in /etc/hosts.

127.0.0.1 example.com
127.0.0.1 example.net

And execute below command.

docker compose up

Then you can access example.com and example.net that served by docker compose.

Warning on Chrome when access the sites

You may see below warning.

Then you need to type thisisunsafe to access example.com or example.net.

Configuration sites page

Edit example.com/index.html and examle.net/index.html to change the contents. You can treat example.com/ and examle.net/ like /usr/share/nginx/html directory.

About

A playground for testing cross origin environment.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages