第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問題,去搜搜看,總會(huì)有你想問的

EC2 實(shí)例上托管的 Laravel 項(xiàng)目的站點(diǎn)部署連接被拒絕

EC2 實(shí)例上托管的 Laravel 項(xiàng)目的站點(diǎn)部署連接被拒絕

PHP
桃花長(zhǎng)相依 2023-09-15 17:31:17
我正在嘗試在運(yùn)行 CentOS7 的 AWS EC2 實(shí)例上使用 Laravel 部署我的網(wǎng)站。我已經(jīng)檢查以確保端口和流量設(shè)置正確,并且它們是因?yàn)槲夷軌蛟诰庉媍onf之前訪問apache登陸頁(yè)面,并且我還能夠ssh并ping IP,但我相信我是配置文件可能存在一些問題。這就是我到達(dá)終點(diǎn)時(shí)所遇到的情況:我的 httpd 正在運(yùn)行,并且我能夠在編輯配置文件之前訪問 apache 登錄頁(yè)面。這是我的 httpd.conf 的主要部分(請(qǐng)注意:我沒有包含整個(gè)內(nèi)容,因?yàn)樗艽蟛⑶抑饕勺⑨尩舻拇a組成):# DocumentRoot: The directory out of which you will serve your# documents. By default, all requests are taken from this directory, but# symbolic links and aliases may be used to point to other locations.#DocumentRoot "/var/www/[project_path]/public"## Relax access to content within /var/www.#<Directory "/var/www/[project_path]/public">    AllowOverride All    # Allow open access:    Require all granted</Directory># Further relax access to the default document root:<Directory "/var/www/[project_path]/public">    #    # Possible values for the Options directive are "None", "All",    # or any combination of:    #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews    #    # Note that "MultiViews" must be named *explicitly* --- "Options All"    # doesn't give it to you.    #    # The Options directive is both complicated and important.  Please see    # http://httpd.apache.org/docs/2.4/mod/core.html#options    # for more information.    #    Options Indexes FollowSymLinks    #    # AllowOverride controls what directives may be placed in .htaccess files.    # It can be "All", "None", or any combination of the keywords:    #   Options FileInfo AuthConfig Limit    #    AllowOverride All    #    # Controls who can get stuff from this server.    #    Require all granted</Directory>## DirectoryIndex: sets the file that Apache will serve if a directory# is requested.#<IfModule dir_module>    DirectoryIndex index.html</IfModule>## The following lines prevent .htaccess and .htpasswd files from being# viewed by Web clients.#<Files ".ht*">    Require all denied</Files>
查看完整描述

2 回答

?
一只甜甜圈

TA貢獻(xiàn)1836條經(jīng)驗(yàn) 獲得超5個(gè)贊

通過添加一個(gè)ssl.conf文件以及與該文件project.conf.bak一起的解決了這個(gè)問題project.conf



查看完整回答
反對(duì) 回復(fù) 2023-09-15
?
陪伴而非守候

TA貢獻(xiàn)1757條經(jīng)驗(yàn) 獲得超8個(gè)贊

您的 RewriteEngine 正在將端口 80 重定向到 HTTPS,該 HTTPS 會(huì)轉(zhuǎn)到未定義的端口 443。


如果要在端口 80(HTTP 連接)下運(yùn)行服務(wù)器,請(qǐng)刪除


<IfModule mod_rewrite.c>

RewriteEngine on

RewriteCond %{HTTPS} off

RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]

</IfModule>


查看完整回答
反對(duì) 回復(fù) 2023-09-15
  • 2 回答
  • 0 關(guān)注
  • 140 瀏覽

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)