mirror of
https://github.com/thewesker/greptweet.git
synced 2025-12-20 04:01:06 -05:00
Fix #52
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<button class="btn btn-primary btn-lg" id="b" onclick="submitPressed()">Fetch tweets</button>
|
||||
<button class="btn btn-primary btn-lg" id="b" type="submit">Fetch tweets</button>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
@@ -16,8 +16,8 @@ http {
|
||||
server_name greptweet.com;
|
||||
root /srv/http;
|
||||
charset utf-8;
|
||||
access_log /var/log/nginx/greptweet.access.log;
|
||||
error_log /var/log/nginx/greptweet.error.log;
|
||||
access_log /srv/http/u/greptweet.access.log;
|
||||
error_log /srv/http/u/greptweet.error.log;
|
||||
|
||||
location / {
|
||||
index index.php index.html;
|
||||
@@ -33,6 +33,10 @@ http {
|
||||
expires 7d;
|
||||
}
|
||||
|
||||
location ~* \.(appcache)$ {
|
||||
expires 30s;
|
||||
}
|
||||
|
||||
location ~ \.php$ {
|
||||
try_files $uri = 404;
|
||||
fastcgi_pass unix:/run/php-fpm/php-fpm.sock;
|
||||
|
||||
Reference in New Issue
Block a user