Update theme
Deploy / deploy (push) Failing after 4m54s
Details
Deploy / deploy (push) Failing after 4m54s
Details
This commit is contained in:
parent
38638700f0
commit
e64276f338
|
@ -1,3 +1,4 @@
|
|||
.hugo_build.lock
|
||||
/venv/
|
||||
/public/
|
||||
_gen
|
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" height="800" width="1200" viewBox="-36 -60 312 360"><defs><linearGradient gradientUnits="userSpaceOnUse" y2="51.9" y1="11.536" x2="28.836" x1="46.136" id="a"><stop offset="0" stop-color="#37aee2"/><stop offset="1" stop-color="#1e96c8"/></linearGradient></defs><g transform="scale(3.4682)"><circle fill="url(#a)" r="34.6" cx="34.6" cy="34.6"/><path fill="#fff" d="M14.4 34.3l23.3-9.6c2.3-1 10.1-4.2 10.1-4.2s3.6-1.4 3.3 2c-.1 1.4-.9 6.3-1.7 11.6l-2.5 15.7s-.2 2.3-1.9 2.7c-1.7.4-4.5-1.4-5-1.8-.4-.3-7.5-4.8-10.1-7-.7-.6-1.5-1.8.1-3.2 3.6-3.3 7.9-7.4 10.5-10 1.2-1.2 2.4-4-2.6-.6l-14.1 9.5s-1.6 1-4.6.1c-3-.9-6.5-2.1-6.5-2.1s-2.4-1.5 1.7-3.1z"/></g></svg>
|
After Width: | Height: | Size: 693 B |
|
@ -10,12 +10,16 @@ languages:
|
|||
params:
|
||||
author: Konstantin Shutkin
|
||||
description: Blog about Linux, DevOps and cloud technologies
|
||||
github: digitalstudium
|
||||
ru:
|
||||
contentDir: content/ru
|
||||
languageName: Русский
|
||||
params:
|
||||
author: Константин Шуткин
|
||||
description: Блог о Linux, DevOps и облачных технологиях
|
||||
github: digitalstudium
|
||||
youtube: digitalstudium
|
||||
telegram: digitalstudium
|
||||
|
||||
params:
|
||||
authorPage: /about-author
|
||||
|
@ -23,9 +27,6 @@ params:
|
|||
schemaType: TechArticle
|
||||
copyright: http://creativecommons.org/licenses/by/4.0/
|
||||
includeJS: ['copy.js']
|
||||
github: digitalstudium
|
||||
youtube: digitalstudium
|
||||
telegram: digitalstudium
|
||||
|
||||
# deployment:
|
||||
# targets:
|
||||
|
|
|
@ -4,8 +4,7 @@ category: nginx-lifehacks
|
|||
filename: nginx-configs-examples
|
||||
date: 2023-03-26
|
||||
---
|
||||
Sometimes there is a need to quickly create an nginx configuration file: for hosting a static website,
|
||||
to create a simple proxy server, etc.
|
||||
Sometimes there is a need to quickly create an nginx configuration file: for hosting a static website, for proxying requests to upstream server, etc.
|
||||
|
||||
This article provides simple examples of Nginx configs for different purposes.
|
||||
|
||||
|
@ -47,7 +46,7 @@ server {
|
|||
listen 80;
|
||||
server_name example.com www.example.com;
|
||||
|
||||
access_log /var/log/nginx/example.com.log main;
|
||||
access_log /var/log/nginx/example.com.log;
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:5000;
|
||||
|
@ -77,7 +76,7 @@ server {
|
|||
listen 80;
|
||||
server_name example.com www.example.com;
|
||||
|
||||
access_log /var/log/nginx/example.com.log main;
|
||||
access_log /var/log/nginx/example.com.log;
|
||||
location / {
|
||||
proxy_pass http://1.2.3.4;
|
||||
proxy_set_header Host $host;
|
||||
|
|
|
@ -4,8 +4,7 @@ category: nginx-lifehacks
|
|||
filename: nginx-configs-examples
|
||||
date: 2023-03-26
|
||||
---
|
||||
Иногда возникает потребность быстро создать конфигурационный файл nginx: для хостинга статического вебсайта,
|
||||
для создания простого проксирующего сервера и т. п.
|
||||
Иногда возникает потребность быстро создать конфигурационный файл nginx: для хостинга статического вебсайта, для проксирования запросов к какому-либо серверу и т. п.
|
||||
|
||||
В данной статье приведены простые примеры конфигов Nginx для разных целей.
|
||||
|
||||
|
@ -47,7 +46,7 @@ server {
|
|||
listen 80;
|
||||
server_name example.com www.example.com;
|
||||
|
||||
access_log /var/log/nginx/example.com.log main;
|
||||
access_log /var/log/nginx/example.com.log;
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:5000;
|
||||
|
@ -77,7 +76,7 @@ server {
|
|||
listen 80;
|
||||
server_name example.com www.example.com;
|
||||
|
||||
access_log /var/log/nginx/example.com.log main;
|
||||
access_log /var/log/nginx/example.com.log;
|
||||
location / {
|
||||
proxy_pass http://1.2.3.4;
|
||||
proxy_set_header Host $host;
|
||||
|
|
|
@ -39,6 +39,12 @@ collections:
|
|||
name: filename
|
||||
widget: string
|
||||
i18n: duplicate
|
||||
# - label: "Featured Image"
|
||||
# name: "featured_image"
|
||||
# widget: "image"
|
||||
# media_folder: "/assets/images"
|
||||
# public_folder: "/images"
|
||||
# i18n: duplicate
|
||||
- label: Date
|
||||
name: date
|
||||
widget: datetime
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 75ff4f492ed677651371c5bf506d4c66759d89ae
|
||||
Subproject commit b67fc5c834c7a4b86b73a44e09e7d9499962951e
|
Loading…
Reference in New Issue