This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
listen [::]:80; | |
server_name your_domain.com www.your_domain.com; | |
root /var/www/html/app_name/public; | |
passenger_enabled on; | |
passenger_app_env production; | |
location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ { | |
expires 744h; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d4ZhpaGAsvX6jur2LivSnkQpJOzsKYCjujZgPhtIBIaoSe3MGZtQStIAVWUfSFrk)KqmmL04OiNwXqfbgSi0WfLdsbUmvhtuDocLfkswkrQAXKQQLlPhksLEkQLrepxOjksvtvQjtktx1fjsfxveKNrKCDkTrkOTsOIAZK02fr)LuLVkcQPHqFNqAKKQsVMivA0uOXJaDscvDlLORPeUhHk1kjuHVHG(TsnYrdUGghCeSK0Hy6KdwaSgyn0G1MO(ydkFs6Gluk4Qto7qRlZbtw32mWfLpj9UoKKELaBnhYlZxbpAGLE)GdwHUoKKEnc5CWrNQMG9eo4uI0TieqAshdBW0Drdn4xOE4sqdwWs)Gghh8lupC0GfS0pOXXbRnQQJILEDOblyPFqJJdUwuC0GfS0pOXXbNLm7fQhoAWcw6h044GRBQJgSGL(bnooy1IYNDanybl9dACCCWobZkbnxdPWbRGgY5ObRnr9Xgu(K0bxOuWvNC2HwxMd(obVT6G1p1dAeyR5Gni9PhCr5tsVRdjPxjWwZH8Y8vWtyUEkBHmQFxdY5GVtWBRo42j4TvpkU4mNsnq5tYYNDqKKELw0ffx6BjOP3wvpPnKgp4xhssVIgC1faVcoue8iAiNdof1JXjqMwIB10s8g90s0GOr9xNaPxXbpHKEn6if4QlisMxlFxblUf34GhnWPOEmobYiyrhTBeYexxbhScDDij9AeY5Gn6dPXdzIRRGP7IgAWVq9WLGgSGL(bnoo4xOE4OblyPFqJJdwBuvhfl96qdwWs)GghhCTO4OblyPFqJJdolz2lupC0GfS0pOXXbx3uhnybl9dACCWQfLp7aAWcw6h04444qwcAWfLpj9UoKKELaBnhYRGFDij9kAWBrdIeO6qkWHIGhrd5CWIdRgPGhoo4yMtPIxlIgY5qoxmcLqiH4GTH5GFPs6hSMRFRQARlZbRVgi9eWWesA4Gn6dPXdzIMat3fn0GFH6Hlbnybl9dACCWVq9WrdwWs)GghhScTeJOb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NameVirtualHost *:443 | |
<VirtualHost *:80> | |
ServerName yourdomain.com | |
ServerAlias www.yourdomain.com | |
Redirect "/" "https://www.yourdomain.com" | |
</VirtualHost> | |
<VirtualHost *:80> | |
ServerName staging.yourdomain.com |