Quantcast
Channel: Hone Watson Bookmarks » App Engine
Viewing all articles
Browse latest Browse all 8

Google App Engine SDK Nginx Proxy Pass proxy_pass Ubuntu

$
0
0

Here’s a quick set up for Google App Engine’s SDK on Nginx.


server {
listen 80;
server_name yourhotdomain.com;
access_log logs/yourhotdomain.access.log;
location / {
proxy_pass http://localhost:8080;
}
}

If you want to change the datastore location do this:


sudo ./dev_appserver.py helloworld/
ctrl c
cp /tmp/dev_appserver.datastore /some_new_path/dev_appserver.datastore
sudo ./dev_appserver.py --datastore_path=/some_new_path/dev_appserver.datastore helloworld/

Your App Engine app should now be running on ‘yourhotdomain.com’.

If you want to run it on your local computer just change your /etc/hosts file to include ‘yourhotdomain.com’


127.0.0.1 yourhotdomain.com yourhotdomain.com



Viewing all articles
Browse latest Browse all 8

Trending Articles