Laravel routes behind reverse proxy

后端 未结 5 1456
野趣味
野趣味 2020-12-08 22:16

Ok, so for development purposes, we have a dedicated web server. It\'s not currently connected directly to the internet, so I\'ve setup an apache reverse proxy on another se

5条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-08 23:00

    Following up @TimeLord's solution:

    In latest version of laravel the name for forced schema has changed and now it is: URL::forceScheme()

提交回复
热议问题