acsrujan πŸ§‘πŸ»β€πŸ’»πŸ§—πŸ»β€β™‚οΈπŸ“œ
  • Stories πŸ“œ
  • Engineering πŸ§‘πŸ»β€πŸ’»
  • Travel πŸ§—πŸ»β€β™‚οΈ
  • Thoughts πŸ’¬
  • Photos πŸ“Έ
  • About πŸ™‹πŸ»β€β™‚οΈ
Sign in Subscribe
EngineeringπŸ‘¨β€πŸ’»

nginx rewrite to https

  • Srujan

Srujan

Dec 5, 2018

This block redirects all http requests to https
```
server {
listen Β  Β  Β  Β  80;
if ($http_x_forwarded_proto != "https") {
rewrite ^(.*) https://$host$1 permanent;
}
}```

Quiz questions

Jun 8, 2023

Miracles

How a morning dew sprinkled on the shrubs, How the rays of sunshine through the windows, How the cloud cover passes above the mountains, How the wind blowing by the dancing trees, How the dust storm travels the desert, How the rain drops echo the rivers, How lost love returns
May 29, 2023

2023 and beyond

With life moving indefinitely forward in an apparent irreversible ship sailing from the past, through the rough waves of the present, to the beautiful shores of the future, I often wonder what the journey encapsulates. With the winds carry the bags of surprises, the flag post of my ship dances
May 29, 2023 1 min read
acsrujan πŸ§‘πŸ»β€πŸ’»πŸ§—πŸ»β€β™‚οΈπŸ“œ © 2023
Powered by Ghost