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>
|
||||||
</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>
|
</div>
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
@@ -16,8 +16,8 @@ http {
|
|||||||
server_name greptweet.com;
|
server_name greptweet.com;
|
||||||
root /srv/http;
|
root /srv/http;
|
||||||
charset utf-8;
|
charset utf-8;
|
||||||
access_log /var/log/nginx/greptweet.access.log;
|
access_log /srv/http/u/greptweet.access.log;
|
||||||
error_log /var/log/nginx/greptweet.error.log;
|
error_log /srv/http/u/greptweet.error.log;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
index index.php index.html;
|
index index.php index.html;
|
||||||
@@ -33,6 +33,10 @@ http {
|
|||||||
expires 7d;
|
expires 7d;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location ~* \.(appcache)$ {
|
||||||
|
expires 30s;
|
||||||
|
}
|
||||||
|
|
||||||
location ~ \.php$ {
|
location ~ \.php$ {
|
||||||
try_files $uri = 404;
|
try_files $uri = 404;
|
||||||
fastcgi_pass unix:/run/php-fpm/php-fpm.sock;
|
fastcgi_pass unix:/run/php-fpm/php-fpm.sock;
|
||||||
|
|||||||
Reference in New Issue
Block a user