Todos Nuevo

user:thomas gists creados por el usuario

title:mygist gists con el título indicado

description:sync gists with given description

filename:myfile.txt gists que contienen archivos con el nombre indicado

extension:yml gists que contienen archivos con la extensión indicada

language:go gists que contienen archivos con el lenguaje indicado

topic:homelab gists with given topic

all:systemctl search all fields

Registrarse

Iniciar sesión

Todos Nuevo Registrarse Iniciar sesión

All gists matching topic nginx

Recientemente creado
Menos reciente creado
Recientemente actualizado
Menos reciente actualizado
anthony's Avatar

anthony / Minimal nginx reverse-proxy

0 gustos
0 bifurcaciones
1 archivos
Última actividad 1 week ago
For example, to pass HTTP-requests to docker containers
docker nginx
1 server {
2 listen 80;
3 listen [::]:80;
4 server_name example.com; # replace with your domain
5
6 access_log /var/log/nginx/access.log;
7 error_log /var/log/nginx/error.log;
8 #client_max_body_size 100M;
9
10 location / {
anthony's Avatar

anthony / Block bots and crawlers in nginx

0 gustos
0 bifurcaciones
1 archivos
Última actividad 1 week ago
nginx
1 map $request_uri $reject {
2 "~(yandexbot)" 0;
3 "~(googlebot)" 0;
4 "~(ClaudeBot).*" 1;
5 "~(Amazonbot).*" 1;
6 "~(SemrushBot).*" 1;
7 "~(meta-externalagent).*" 1;
8 "~(DataForSeoBot).*" 1;
9 "~(Screaming Frog SEO Spider).*" 1;
10 "~(GetRight).*" 1;
Siguiente Anterior

Desarrollado por Opengist ⋅ Load: 76ms⋅

Español
العربية Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 简体中文 繁體中文