• Home
    • English
    • 中文
  • About Us
  • Services
    • SEO Services
    • Website Design Service
  • Projects
  • Docs
  • Blog
    • Affiliate
    • Ecommerce
    • Frontend
    • linux
      • nginx
    • PHP
      • Magento
      • wordpress
    • Python
    • SEO
    • Web
  • Contact Us

Subscribe to Updates

Get the latest creative news from FooBar about art, design and business.

What's Hot

Design a plugin for wordpress woocommerce to display a tab to show attachment download

2024-04-06

TranslatePress v2.6.9 – WordPress Translation Plugin

2023-12-25

A Linux batch script converting pictures to webp format

2023-07-10
Facebook Twitter Instagram
  • 中文
  • English
Facebook Twitter Instagram Pinterest VKontakte
Weilai Tech Weilai Tech
  • Home
    • English
    • 中文
  • About Us
  • Services
    • SEO Services
    • Website Design Service
  • Projects
  • Docs
  • Blog
    • Affiliate
    • Ecommerce
    • Frontend
    • linux
      • nginx
    • PHP
      • Magento
      • wordpress
    • Python
    • SEO
    • Web
  • Contact Us
Weilai Tech Weilai Tech
Home»nginx»nginx proxy google blogger
nginx

nginx proxy google blogger

OxfordBy Oxford2020-06-16No Comments2 Mins Read
Facebook Twitter Pinterest LinkedIn Tumblr Email
Share
Facebook Twitter LinkedIn Pinterest Email

server {
listen 80;
server_name ssx8.com;
gzip off;
location / {
# proxy_pass https://www.ssx8.com;
rewrite ^/(.*)$ https://www.ssx8.com/$1 permanent;

}
}

server {
listen 443 ssl;
server_name ssx8.com ;
gzip on;
ssl_certificate /etc/nginx/certs/www.ssx8.com.pem;
ssl_certificate_key /etc/nginx/certs/www.ssx8.com.key;

ssl_session_cache shared:SSL:1m;
ssl_session_timeout 5m;

root /var/www/html;

location /
{
rewrite ^/(.*)$ https://www.ssx8.com/$1 permanent;
# proxy_pass http://ssx8.com;
proxy_set_header User-Agent $http_user_agent;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Accept-Encoding “”;
proxy_set_header Accept-Language $http_accept_language;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

#proxy_set_header Host www.ssx8.com;
#proxy_redirect off;
proxy_set_header X-Real-IP $remote_addr;
#proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
#proxy_set_header Cookie “”;
#proxy_hide_header Set-Cookie;
#proxy_hide_header Location;
#proxy_set_header User-Agent “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36”;
#proxy_set_header Accept-Encoding “”;

#subs_filter_types text/html text/css text/xml text/x-javascript application/x-javascript;
#subs_filter_types *;
#sub_filter_once off;
#subs_filter ‘//www.ssx8.com’ ‘//ssx8.com’;
#subs_filter ‘fonts.gstatic.com’ ‘gstatic.loli.net’;
#subs_filter ‘resources.blogblog.com/blogblog/data/res’ ‘cdn.jsdelivr.net/gh/staticfilestorage/cdn@cdn/blogger’;
#subs_filter ‘resources.blogblog.com/img’ ‘cdn.jsdelivr.net/gh/staticfilestorage/cdn@cdn/blogger’;
#subs_filter ‘https://www.blogger.com’ ‘https://ssx8.com/www.blogger.com’;
#subs_filter ‘https://1.bp.blogspot.com’ ‘https://ssx8.com/1.bp.blogspot.com’;
#subs_filter ‘https://2.bp.blogspot.com’ ‘https://ssx8.com/2.bp.blogspot.com’;
#subs_filter ‘https://3.bp.blogspot.com’ ‘https://ssx8.com/3.bp.blogspot.com’;
#subs_filter ‘https://4.bp.blogspot.com’ ‘https://ssx8.com/4.bp.blogspot.com’;
#subs_filter ‘https://5.bp.blogspot.com’ ‘https://ssx8.com/5.bp.blogspot.com’;
#subs_filter ‘https://6.bp.blogspot.com’ ‘https://ssx8.com/6.bp.blogspot.com’;
#subs_filter ‘https://7.bp.blogspot.com’ ‘https://ssx8.com/7.bp.blogspot.com’;
#subs_filter ‘https://8.bp.blogspot.com’ ‘https://ssx8.com/8.bp.blogspot.com’;
#subs_filter ‘https://9.bp.blogspot.com’ ‘https://ssx8.com/9.bp.blogspot.com’;
}

location /1.bp.blogspot.com/ { proxy_pass https://1.bp.blogspot.com/; }
location /2.bp.blogspot.com/ { proxy_pass https://2.bp.blogspot.com/; }
location /3.bp.blogspot.com/ { proxy_pass https://3.bp.blogspot.com/; }
location /4.bp.blogspot.com/ { proxy_pass https://4.bp.blogspot.com/; }
#location /5.bp.blogspot.com/ { proxy_pass https://5.bp.blogspot.com/; }
#location /6.bp.blogspot.com/ { proxy_pass https://6.bp.blogspot.com/; }
#location /7.bp.blogspot.com/ { proxy_pass https://7.bp.blogspot.com/; }
#location /8.bp.blogspot.com/ { proxy_pass https://8.bp.blogspot.com/; }
#location /9.bp.blogspot.com/ { proxy_pass https://9.bp.blogspot.com/; }

}

Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
Avatar photo
Oxford

Related Posts

secure wordpress with nginx config file

2021-06-08

how to setup W3 total cache on nginx server

2021-05-02

use simply static cache to instead fast-cgi cache to boost your wordpress 10x

2021-04-18

How to Configure nginx Reverse Proxy WordPress Cache for Apache

2021-04-15
Recent Posts
  • Design a plugin for wordpress woocommerce to display a tab to show attachment download
  • TranslatePress v2.6.9 – WordPress Translation Plugin
  • A Linux batch script converting pictures to webp format
  • Hearing aid listed company official website SEO case
  • how to use docker to run php5.6 plus apache
June 2020
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
2930  
« May   Jul »
Tags
app branding design digital Docly docs etc faq fix github Helpdesk Image issue magento Manual marketing memecached Photography planing seo sequrity tips Travel ui/ux web WordPress 爬虫
Editors Picks
About Us

Guangzhou Weilai Technology is a foreign trade integrated marketing service provider focusing on Google as the drainage center and marketing self-built website as the carrier.

Email Us: [email protected]
Contact: +86 18676917505

Facebook Pinterest YouTube LinkedIn
Recent Posts
  • Design a plugin for wordpress woocommerce to display a tab to show attachment download
  • TranslatePress v2.6.9 – WordPress Translation Plugin
  • A Linux batch script converting pictures to webp format
  • Hearing aid listed company official website SEO case
  • how to use docker to run php5.6 plus apache
From Flickr
Website Design Case
© 2024 Copyright by Guangzhou Weilai Technology Co.,Ltd..
  • Home
  • About Us
  • SEO Services
  • Website Design Service
  • Projects
  • Blog
  • Contact Us

Type above and press Enter to search. Press Esc to cancel.