Skip to content

Commit

Permalink
feat: Add cors config
Browse files Browse the repository at this point in the history
  • Loading branch information
tty47 committed Mar 6, 2023
1 parent 19c031b commit ccc48b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ping.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ server {

#access_log /var/log/nginx/host.access.log main;

add_header Access-Control-Allow-Origin *; # Testing - change to the proper domain name

location / {
root /usr/share/nginx/html;
index index.html index.htm;
Expand Down

0 comments on commit ccc48b2

Please sign in to comment.