mirror of
https://github.com/alexkay/spek.git
synced 2025-04-15 08:10:33 +03:00
web: Move off from appengine
This commit is contained in:
parent
af0b56bf9e
commit
e1f7c08a7a
@ -32,3 +32,9 @@ DISTCLEANFILES = \
|
||||
intltool-extract \
|
||||
intltool-merge \
|
||||
intltool-update
|
||||
|
||||
.PHONY: upload
|
||||
|
||||
upload:
|
||||
rsync -avhz web/nginx.conf server:spek
|
||||
rsync -avhz --delete --exclude="*.in" --exclude="nginx.conf" web/ server:spek/static
|
||||
|
35
web/app.yaml
35
web/app.yaml
@ -1,35 +0,0 @@
|
||||
application: spek-project
|
||||
version: 1
|
||||
runtime: python
|
||||
api_version: 1
|
||||
|
||||
handlers:
|
||||
- url: /favicon.ico
|
||||
static_files: favicon.ico
|
||||
upload: favicon.ico
|
||||
mime_type: vnd.microsoft.icon
|
||||
|
||||
- url: /robots.txt
|
||||
static_files: robots.txt
|
||||
upload: robots.txt
|
||||
mime_type: text/plain
|
||||
|
||||
- url: /bitcoin
|
||||
static_files: bitcoin
|
||||
upload: bitcoin
|
||||
mime_type: text/plain
|
||||
|
||||
- url: /version
|
||||
static_files: version
|
||||
upload: version
|
||||
mime_type: text/plain
|
||||
|
||||
- url: /
|
||||
static_files: index.html
|
||||
upload: index.html
|
||||
mime_type: text/html
|
||||
|
||||
- url: /(.*).png
|
||||
static_files: \1.png
|
||||
upload: (.*).png
|
||||
mime_type: image/png
|
@ -92,7 +92,7 @@
|
||||
If you like Spek and want to thank its developer feel free to leave a tip:
|
||||
</p>
|
||||
<p>
|
||||
<a href="/bitcoin"><img src="bitcoin.png" title="Bitcoin" alt="Bitcoin"/></a> <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=ZUUSBRRB2SBRQ&lc=GB&item_name=Spek&item_number=spek&no_note=1&no_shipping=1&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted"><img src="paypal.png" title="Tip with PayPal" alt="Tip with PayPal"/></a> <a href="http://flattr.com/thing/277585/Spek"><img src="flattr.png" alt="Flattr this" title="Flattr this"/></a> <a href="http://amzn.com/w/1RJ8WMVMEAIGF"><img src="amazon.png" alt="Amazon wish list" title="Amazon wish list"/></a>
|
||||
<a href="/bitcoin.txt"><img src="bitcoin.png" title="Bitcoin" alt="Bitcoin"/></a> <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=ZUUSBRRB2SBRQ&lc=GB&item_name=Spek&item_number=spek&no_note=1&no_shipping=1&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted"><img src="paypal.png" title="Tip with PayPal" alt="Tip with PayPal"/></a> <a href="http://flattr.com/thing/277585/Spek"><img src="flattr.png" alt="Flattr this" title="Flattr this"/></a> <a href="http://amzn.com/w/1RJ8WMVMEAIGF"><img src="amazon.png" alt="Amazon wish list" title="Amazon wish list"/></a>
|
||||
</p>
|
||||
|
||||
<h2>News <a href="http://versia.com/category/spek/feed/atom/"><img src="feed-icon-14x14.png" alt="news feed"/></a></h2>
|
||||
|
16
web/nginx.conf
Normal file
16
web/nginx.conf
Normal file
@ -0,0 +1,16 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name www.spek-project.org;
|
||||
rewrite ^ http://spek-project.org$request_uri?;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name spek-project.org;
|
||||
root /home/alexander/spek/static;
|
||||
|
||||
location / {
|
||||
access_log off;
|
||||
expires 1d;
|
||||
}
|
||||
}
|
@ -1,3 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
appcfg.py --email=alexander@kojevnikov.com update `dirname $0`
|
Loading…
x
Reference in New Issue
Block a user