@@ -0,0 +1 @@
+feed/
@@ -1,2 +1,3 @@
FROM nginx:alpine
COPY index.html /usr/share/nginx/html
+COPY nginx.conf /etc/nginx/nginx.conf
@@ -5,3 +5,5 @@ services:
ports:
- 9898:80
restart: always
+ volumes:
+ - ./feed:/usr/share/nginx/html/feed
@@ -89,6 +89,12 @@
<p>Manage local LAN and internet connection settings</p>
</div>
</li>
+ <li onclick="location.href='https://shandan.one/feed/news/rss.html';" style="color: orange;">
+ <div>
+ <h1>News Feed</h1>
+ <p>Notable events but not weather or sports</p>
+ </div>
+ </li>
</ul>
</body>
</html>
@@ -0,0 +1,15 @@
+events {
+}
+http {
+ server {
+ root /usr/share/nginx/html;
+ location / {
+ }
+ location /feed/ {
+ autoindex on;
+ location /feed/news/ {