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"
|
- "80:80"
|
||||||
volumes:
|
volumes:
|
||||||
- ./tkr-nginx-folder.conf:/etc/nginx/conf.d/default.conf
|
- ./tkr-nginx-folder.conf:/etc/nginx/conf.d/default.conf
|
||||||
- ./tkr:/tkr
|
- ./../../tkr:/tkr
|
||||||
php:
|
php:
|
||||||
image: php:fpm
|
image: php:fpm
|
||||||
volumes:
|
volumes:
|
||||||
- ./tkr:/tkr
|
- ./../../tkr:/tkr
|
@ -6,10 +6,6 @@ server {
|
|||||||
index index.php;
|
index index.php;
|
||||||
alias /tkr/public;
|
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)$ {
|
location ~ ^/tkr(/.+\.php)$ {
|
||||||
fastcgi_pass php:9000;
|
fastcgi_pass php:9000;
|
||||||
include fastcgi_params;
|
include fastcgi_params;
|
@ -30,6 +30,7 @@ $ticks = iterator_to_array(stream_ticks($limit, $offset));
|
|||||||
<body>
|
<body>
|
||||||
<div class="home-navbar">
|
<div class="home-navbar">
|
||||||
<a href="<?= $config->basePath ?>rss">rss</a>
|
<a href="<?= $config->basePath ?>rss">rss</a>
|
||||||
|
<a href="<?= $config->basePath ?>atom">atom</a>
|
||||||
<?php if (!$isLoggedIn): ?>
|
<?php if (!$isLoggedIn): ?>
|
||||||
<a href="<?= $config->basePath ?>login.php">login</a>
|
<a href="<?= $config->basePath ?>login.php">login</a>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user