Skip to content

andrewhn/elizzybethweather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

elizzybethweather

To deploy:

  • Register for api key from openweathermap.org and add &appid={api_key} to WEATHER_API (also change to https)
  • Add following nginx server block (note use of $remote_addr)
server {
        server_name <domain>;
        
        root <path>;
        index index.html index.htm;

        location / {
                try_files $uri $uri/ =404;
        }

        location /weather {
                rewrite /weather(.*) /$remote_addr  break;
                proxy_pass http://localhost:<port>;
        }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published