Move server confs to examples. Add atom link in navbar.
This commit is contained in:
parent
67eea6e90c
commit
fc576fb730
@ -5,8 +5,8 @@ services:
|
||||
- "80:80"
|
||||
volumes:
|
||||
- ./tkr-nginx-folder.conf:/etc/nginx/conf.d/default.conf
|
||||
- ./tkr:/tkr
|
||||
- ./../../tkr:/tkr
|
||||
php:
|
||||
image: php:fpm
|
||||
volumes:
|
||||
- ./tkr:/tkr
|
||||
- ./../../tkr:/tkr
|
@ -6,10 +6,6 @@ server {
|
||||
index index.php;
|
||||
alias /tkr/public;
|
||||
|
||||
#location ~ "^/tkr/([0-9]{4}/[0-9]{2}/[0-9]{2}/[0-9]{2}/[0-9]{2}/[0-9]{2})$" {
|
||||
# rewrite "^/tkr/([0-9/]{19})$ /tkr/tick.php?path=$1" break;
|
||||
#}
|
||||
|
||||
location ~ ^/tkr(/.+\.php)$ {
|
||||
fastcgi_pass php:9000;
|
||||
include fastcgi_params;
|
@ -30,6 +30,7 @@ $ticks = iterator_to_array(stream_ticks($limit, $offset));
|
||||
<body>
|
||||
<div class="home-navbar">
|
||||
<a href="<?= $config->basePath ?>rss">rss</a>
|
||||
<a href="<?= $config->basePath ?>atom">atom</a>
|
||||
<?php if (!$isLoggedIn): ?>
|
||||
<a href="<?= $config->basePath ?>login.php">login</a>
|
||||
<?php else: ?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user