极
极核实验室
Tag archive

#Nginx

Browse all WindBlog tags and find articles by topic.

Articles: 5 View all tags
技术文章 建站教程 • • 1

Prevent Censys and Fofa from Leaking Website IP

This tutorial recommends using Rainyun CDN, which is affordable, fast, and does not charge extra for HTTPS traffic! Although this CDN is a 1000GB high-defense CDN, if an attacker finds your server IP, they can completely bypass the CDN's defenses and directly put your server IP into blackhole (equivalent to unplugging the network cable). Tutorial First, create a website for your server IP. Then enable SSL and place a special certificate into it (be sure not to set it to the SSL certificate of your own domain). pemkey-1695470962 download After setting the certificate of the IP site to this one

技术文章 建站教程 • • 1

OpenLiteSpeed vs. Nginx: A Comparison

In today's internet world, the web server is key to building a successful website. OpenLiteSpeed and NGINX are two popular web servers, each with its own unique advantages and features. In this article, we will compare the pros and cons of OpenLiteSpeed and NGINX, and explore their use in web development. OpenLiteSpeed is a free, open-source web server; it is the open-source version of LiteSpeed. OpenLiteSpeed and LiteSpeed share many similar

技术文章 建站教程 • • 1

Control-Allow-Origin * Settings under Apache and NGINX

Introduction Websites generally set the access-control-allow-origin HTTP header only when they need to share resources with other websites (transfer data across origins) Setting Access-Control-Allow-Origin can solve cross-origin issues with multiple domains Access-Control-Allow-Origin * allows all websites to access cross-origin Access-Control-Allow-Origin gqink.cn allows gqink.cn to access cross-origin

Nginx: Force HTTPS Redirect and Add www
技术文章 • • 1

Nginx: Force HTTPS Redirect and Add www

Redirect to HTTPS Although many websites support https, when you directly enter the URL in the browser address bar, they are accessed via the http protocol by default, hence the need to force http to redirect to https arises Use the rewrite method to force https if ($server_port !~ 443){ rewrite ^(/.*)$ https://$host$1 permanent; } Modification method Enter the virtual host configuration file directory View the