0
有人可以幫我將這條規則轉換爲nginx嗎?我需要它來提供HTML爲XHTML SVG的面具在FireFox將apache htaccess重寫規則轉換爲nginx重寫規則
RewriteEngine on
RewriteBase/
RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml
RewriteCond %{HTTP_ACCEPT} !application/xhtml\+xml\s*;\s*q=0
RewriteCond %{REQUEST_URI} \.html$
RewriteCond %{THE_REQUEST} HTTP/1\.1
RewriteRule .* - [T=application/xhtml+xml]
我將測試它讓你知道,THX – gidzior