Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
www non-www
a guest
Oct 27th, 2020
147
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Nginx
0.14 KB
| None
|
0
0
raw
download
clone
embed
print
report
server
{
#...
if
(
$host
~
* www\.
(
.*
)
)
{
set
$host_without_www
$1
;
rewrite
^
(
.*
)
$
http
://
$host_without_www
$1 permanent
;
}
#...
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
htnl поле JS
JavaScript | 11 sec ago | 1.65 KB
good AR pomale
Python | 3 min ago | 3.21 KB
Untitled
C++ | 16 min ago | 0.30 KB
Pico Proximity Sensor (LED Alert + POST reque...
Python | 22 min ago | 2.20 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 💰
GetText | 30 min ago | 0.38 KB
Untitled
PHP | 33 min ago | 0.01 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 34 min ago | 0.39 KB
Untitled
C# | 58 min ago | 1.64 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!