Nginx formatētājs
.CONFNginx
Nginx formatētājs: Apstrādājiet Nginx lokāli pārlūkā bez augšupielādes ar precīzu nginx.conf izvadi.
Praktisks piemērs
Nginx Configuration SyntaxIevade
server {
listen 443 ssl http2;
server_name api.example.net;
location / {
proxy_pass http://127.0.0.1:8080;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
location /healthz {
return 200 "ok\n";
...Izvade
server {
listen 443 ssl http2;
server_name api.example.net;
location / {
proxy_pass http://127.0.0.1:8080;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
location /healthz {
return 200 "ok\n";
...NetFmt
100% lokāli · Bez augšupielādes
Apstrādājiet Nginx lokāli pārlūkā bez augšupielādes ar precīzu nginx.conf izvadi.
IP un apakštīkli
Nginx uz nginx.conf.
DNS, e-pasts un maršruti
Izvade: nginx.conf.
Linux un DevOps
Kopēt / Lejupielādēt.
Nginx formatētājs
- 1Ievade: Nginx (Atvērt failu).
- 2Palaist: Nginx → nginx.conf.
- 3Izvade: nginx.conf (Kopēt / Lejupielādēt).
FAQ
100% lokāli · Bez augšupielādes (Nginx)?
Apstrādājiet Nginx lokāli pārlūkā bez augšupielādes ar precīzu nginx.conf izvadi.
Nginx formatētājs (Nginx → nginx.conf)?
Apstrādājiet Nginx lokāli pārlūkā bez augšupielādes ar precīzu nginx.conf izvadi. (Nginx → nginx.conf).
Nākamais solis (nginx.conf)?
Nākamais solis: NetFmt (nginx.conf).