v/pol
1
0
mirror of https://github.com/taroved/pol synced 2025-05-29 12:30:09 -07:00

rss link + nginx config

This commit is contained in:
Alexandr Nesterenko 2016-07-14 11:47:26 -07:00
parent f97fc9fd84
commit 8f2b91e279
3 changed files with 25 additions and 0 deletions

View File

@ -38,6 +38,7 @@
<link href="{% static 'frontend/images/favicon.ico' %}" rel="shortcut icon" />
{% javascript 'app' %}
{% block headers %}{% endblock %}
</head>
<body>
<div id="wrap">

View File

@ -2,6 +2,10 @@
{% load staticfiles %}
{% load i18n %}
{% block headers %}
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{ feed_url }}" />
{% endblock %}
{% block content %}
<div class="page-header">
<h1>Feed is ready</h1>

View 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;
}
}