mirror of
https://github.com/taroved/pol
synced 2025-05-31 21:40:09 -07:00
rss link + nginx config
This commit is contained in:
parent
f97fc9fd84
commit
8f2b91e279
@ -38,6 +38,7 @@
|
|||||||
<link href="{% static 'frontend/images/favicon.ico' %}" rel="shortcut icon" />
|
<link href="{% static 'frontend/images/favicon.ico' %}" rel="shortcut icon" />
|
||||||
|
|
||||||
{% javascript 'app' %}
|
{% javascript 'app' %}
|
||||||
|
{% block headers %}{% endblock %}
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="wrap">
|
<div id="wrap">
|
||||||
|
@ -2,6 +2,10 @@
|
|||||||
{% load staticfiles %}
|
{% load staticfiles %}
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
|
||||||
|
{% block headers %}
|
||||||
|
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{ feed_url }}" />
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="page-header">
|
<div class="page-header">
|
||||||
<h1>Feed is ready</h1>
|
<h1>Feed is ready</h1>
|
||||||
|
20
nginx/default.site-example
Normal file
20
nginx/default.site-example
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
# Default server configuration
|
||||||
|
#
|
||||||
|
server {
|
||||||
|
listen 80 default_server;
|
||||||
|
listen [::]:80 default_server;
|
||||||
|
|
||||||
|
server_name _;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
proxy_pass http://127.0.0.1:8000;
|
||||||
|
}
|
||||||
|
|
||||||
|
location /downloader {
|
||||||
|
proxy_pass http://127.0.0.1:1234;
|
||||||
|
}
|
||||||
|
|
||||||
|
location /feed {
|
||||||
|
proxy_pass http://127.0.0.1:1234;
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user